SingleErrorCase class abstract

This is used to define an error case that returns a single exception and stop validation at first error.

Inheritance
Implementers

Constructors

SingleErrorCase(Map<String, num?> minimumValue, Map<String, num?> maximumValue)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maximumValue Map<String, num?>
finalinherited
minimumValue Map<String, num?>
finalinherited
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<T extends JsonModel>(T value, dynamic onError(Exception exception), dynamic onSuccess(T value)) → void
validateKeyValue(String key, dynamic keyValue) → void
inherited
validateNestedKeyValue(String key, Map<String, dynamic> json) → void
inherited

Operators

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