Validation<T, F> class
abstract
The result of a validation for T
with fields of type F
Constructors
-
Validation(Map<
F, List< errorsMap)ValidaError> >
Properties
-
allErrors
→ Iterable<
ValidaError> -
no setter
-
errorsMap
→ Map<
F, List< ValidaError> > -
final
- fields → Object
-
no setter
- hasErrors → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid → bool
-
no setter
- numErrors → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validated
→ Validated<
T> ? -
no setter
- value → T
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toError(
{required String property}) → ValidaError? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
computeNumErrors(
Iterable< ValidaError> errors) → int