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(TIn input)
→ TOut?
-
Static Methods
-
all<TIn, TOut>(List<LoValidator<TIn, TOut>> validators, [TOut? defaultError])
→ ValidateFunc<TIn, TOut>
-
Checks whether all validators have no error (Like AND).
Returns first error (or
defaultError
if not null) otherwise.
-
any<TIn, TOut>(List<LoValidator<TIn, TOut>> validators, [TOut? defaultError])
→ ValidateFunc<TIn, TOut>
-
Checks whether any validator has no error (Like OR).
Returns first error (or
defaultError
if not null) otherwise.