aggregate<T> static method

FormFieldValidator<T> aggregate<T>(
  1. List<FormFieldValidator<T>> validators
)

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;