AndValidator<I> class
Group validator. Allows to validate value against multiple validators.
Stop execution as soon as first Validator validation fails.
All Validator's should be designed to validate same value type.
Unlike OrValidator this validator will be valid only if ALL child validators are valid
- Implemented types
-
- Validator<
I>
- Validator<
Constructors
-
AndValidator(Iterable<
Validator< validators)I> > -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validators
→ Iterable<
Validator< I> > -
final
Methods
-
call(
I? value) → String? -
Invoke validation
override
-
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