allCollect<T, E> static method

Formix<T, E> allCollect<T, E>(
  1. List<Formix<T, E>> validators
)

Creates a validator that requires ALL rules to pass, collecting all errors.

Continues validation after errors to collect all failures.

final validator = Validate.allCollect<String, String>([
  requiredRule,
  emailRule,
]);

Implementation

static Formix<T, E> allCollect<T, E>(List<Formix<T, E>> validators) =>
    AllOfCollect(validators);