Validation<T> class
abstract
Constructors
- Validation()
-
const
-
Validation.any(List<
Validator< validators)T> > -
It combines the validators into a single validation
constfactory
-
Validation.every(List<
Validator< validators)T> > -
It combines the validators into a single validation
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
-
call(
T value) → Object? -
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
Static Properties
- email → TextValidation
-
final
- url → TextValidation
-
final
Constants
- none → const Validation
- If validation is not necessary