ValidationResult constructor
ValidationResult({
- Iterable<
ValidationError> ? validationErrors,
Implementation
factory ValidationResult({
$core.Iterable<ValidationError>? validationErrors,
}) {
final _result = create();
if (validationErrors != null) {
_result.validationErrors.addAll(validationErrors);
}
return _result;
}