validate method
Validates value
against this validator.
Implementation
@override
bool validate(cached, value, DogEngine engine) {
if (cached as bool) {
if (value == null) return true;
return (value as Iterable).every((e) => _validateSingle(e));
} else {
return _validateSingle(value);
}
}