EqualLengthValidator<T> constructor
const
EqualLengthValidator<T> (})
Constructor for the equal length validator.
Implementation
const EqualLengthValidator(
this.length, {
this.allowEmpty = false,
/// {@macro base_validator_error_text}
super.errorText,
/// {@macro base_validator_null_check}
super.checkNullOrEmpty,
});