compose static method

Validator compose(
  1. List<Validator> validators
)

Compose multiple validators into a single validator that returns the union of the individual error maps for the provided control of multiple validators.

The argument validators must not be null.

Implementation

static Validator<dynamic> compose(List<Validator<dynamic>> validators) {
  return ComposeValidator(validators);
}