WaitingResult class
Validation result indicating a validation is in progress.
Used when asynchronous validation is being performed and the result is not yet available.
- Inheritance
-
- Object
- ValidationResult
- WaitingResult
Constructors
- WaitingResult.attached({required FormKey key, required FormValidationMode state})
-
Creates a waiting result attached to a form key.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → FormKey
-
The form field key associated with this validation result.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → FormValidationMode
-
The form validation mode that triggered this result.
finalinherited
Methods
-
attach(
FormKey key) → WaitingResult -
Attaches a form field key to this validation result.
override
-
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