all function
Passes the test if all of the EskValidators are valid, and fails if any of them are invalid
In the case that a EskValidator fails, it's EskResult will be returned
Implementation
IEskValidator all(List<IEskValidator> validators) => EskValidator((value) {
for (final validator in validators) {
final result = validator.validate(value);
if (result.isNotValid) return result;
}
return EskResult.valid(value);
});