Validation<T> class abstract

Implementers

Constructors

Validation()
const
Validation.any(List<Validator<T>> validators)
It combines the validators into a single validation
const
factory
Validation.every(List<Validator<T>> validators)
It combines the validators into a single validation
const
factory

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