Validator<V, I, E extends ValidationError> class abstract

Implementers
Annotations
  • @immutable

Constructors

Validator()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(I value) → Either<E, V>
A pure function that validates the given value and returns the result as Either<E, V>, encoding either a corresponding model value or an error message.

Operators

operator ==(Object other) bool
The equality operator.
inherited