Valida class
Specification of the validation that should be executed over a given class
if nullableErrorLists is true, the error lists for each field with be nullable if constErrors is true, the errors will be constant values if enumFields is true, the field type will be enums
- Implemented types
Constructors
Properties
- constErrors → bool
-
final
-
customValidate
→ List<
ValidaError> Function(Object?)? -
final
- customValidateName → String?
-
final
- enumFields → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nullableErrorLists → bool
-
final
- 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
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
fieldsSerde
→ const Map<
String, SerdeType>