Validator<S> class
sealed
Constructors
- Validator.custom(bool isValidCallback(S state))
-
constfactory
- Validator.exactLength(int value)
-
constfactory
- Validator.maxLength(int value)
-
constfactory
- Validator.minLength(int value)
-
constfactory
- Validator.required()
-
constfactory
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
-
isValid(
S state) → bool -
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