aggregate<T> static method
FormFieldValidator that runs validators and collects all error messages.
Parameters:
validators
The list of validators to run.
Implementation
static FormFieldValidator<T> aggregate<T>(
List<FormFieldValidator<T>> validators,
) => AggregateValidator<T>(validators).validate;