Validator<T> class abstract

Implementers

Constructors

Validator()
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

combine(Validator<T> other) Validator<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRevalidate(FormKey source) bool
toString() String
A string representation of this object.
inherited
validate(BuildContext context, T? value, FormValidationMode lifecycle) Future<ValidationResult?>

Operators

operator &(Validator<T> other) Validator<T>
operator +(Validator<T> other) Validator<T>
operator ==(Object other) bool
The equality operator.
inherited
operator |(Validator<T> other) Validator<T>
operator ~() Validator<T>