MaxValidator<T> constructor
const
MaxValidator<T> (})
Constructor for the maximum value validator.
Implementation
const MaxValidator(
this.max, {
this.inclusive = true,
/// {@macro base_validator_error_text}
super.errorText,
/// {@macro base_validator_null_check}
super.checkNullOrEmpty,
});