VerificationContext class

Used internally by drift for integrity checks.

Constructors

VerificationContext()
Creates a verification context, which stores the individual integrity check results. Used by generated code.
VerificationContext.notEnabled()
Constructs a verification context that can't be used to report errors. This is used internally by drift if integrity checks have been disabled.
const

Properties

dataValid bool
Used internally by drift
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(VerificationMeta meta, VerificationResult result) → void
Used internally by drift when inserting
missing(VerificationMeta meta) → void
Used internally by drift
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
throwIfInvalid(dynamic dataObject) → void
Used internally by drift
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited