ValidatorCollection class

Runs a group of Validators

Constructors

ValidatorCollection(List<Validator> validators)
validators are all run simultaneously in assertValidate
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 List<Validator>
These are the validators that are all run simultaneously in assertValidate
final

Methods

assertValidate(Map<String, dynamic> map) → void
If any of the validators fail with the given map, a ValidationCollectionException will be thrown with all the offending ValidationExceptions
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