DelegateAsyncValidator class
Validator that delegates the validation to an external function.
- Inheritance
-
- Object
- AsyncValidator
- DelegateAsyncValidator
Constructors
- DelegateAsyncValidator(AsyncValidatorFunction asyncValidator)
-
Creates an instance of the DelegateAsyncValidator class.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
AbstractControl control) → Future< Map< String, dynamic> ?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
AbstractControl control) → Future< Map< String, dynamic> ?> -
Validates the
control
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited