MinLengthValidator<T> constructor

const MinLengthValidator<T>(
  1. int minLength, {
  2. String? errorText,
  3. bool checkNullOrEmpty = true,
})

Constructor for the minimum length validator.

Implementation

const MinLengthValidator(
  this.minLength, {

  /// {@macro base_validator_error_text}
  super.errorText,

  /// {@macro base_validator_null_check}
  super.checkNullOrEmpty,
});