LoFieldBaseValidator<TValue> class abstract

Implemented types
Implementers

Constructors

LoFieldBaseValidator()

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(TValue? value) String?
Returns String containing the error message if value is invalid. or null when value is valid.
override

Operators

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

Static Methods

run<TValue>(List<LoFieldBaseValidator> validators, TValue value) String?
Runs all validators on value, then return the error message or null accordingly.