MaxLengthValidator<T> constructor
Constructor for the maximum length validator.
Implementation
const MaxLengthValidator(
this.maxLength, {
/// {@macro base_validator_error_text}
super.errorText,
/// {@macro base_validator_null_check}
super.checkNullOrEmpty,
});