composeValidators function

ValidatorFn? composeValidators(
  1. List? validators
)

Implementation

ValidatorFn? composeValidators(List<dynamic>? validators) {
  return validators != null
      ? Validators.compose(
          validators.map<ValidatorFn>(normalizeValidator).toList())
      : null;
}