and method

Combines the current validator with another validator using logical AND.

Implementation

FormFieldValidator<T> and(FormFieldValidator<T> other) {
  return FormBuilderValidators.compose(<FormFieldValidator<T>>[this, other]);
}