FormeFieldValidateSnapshot<T> class
used to hold validate result and validated value
since value may be changed during async validation
Constructors
-
FormeFieldValidateSnapshot(T value, FormeFieldValidation validation, int order, FormeFieldController<
T> controller, bool isValueChangedDuringValidation, bool isValueChanged)
Properties
-
controller
→ FormeFieldController<
T> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInvalid → bool
-
whether field is invalid
no setter
- isValid → bool
-
no setter
- isValueChanged → bool
-
whether value changed after initialized
final
- isValueChangedDuringValidation → bool
-
final
- order → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validation → FormeFieldValidation
-
validation , may not equals the field's current validation if performed another validate during async validation
final
- value → T
-
validated value , may not equals the field's value
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited