Validation class abstract

Abstract class for implementing a validation.

Implementers

Constructors

Validation()

Properties

errors ↔ Map<String, dynamic>?
Holds the errors of the validation in case of schema validation.
getter/setter pair
fieldName ↔ String?
Holds the field name of the validated value.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
message ↔ String?
Holds the error message of the validation in case of single value validation.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(String? fieldName, Object? value) → bool
Validates the given value.
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