validateAsync method
Implementation
Future<Result> validateAsync(dynamic value, {bool exists = true}) async {
if ((value == null && isNullable && exists) || (!exists && isOptional)) {
return Result.valid(value);
}
final result = await validator(value);
return result;
}