ReqDigit.min constructor
Constrains the input data to the digits 0-9
and its length (number of
digits) to a minimum of min
digits.
min
the minimum number of digits; it must be > 0.
blank
the error message in case of a null or empty input value.
mal
the error message if a non-digit character is found.
short
the error message if the input length is shorter than min
digits.
Implementation
ReqDigit.min(int min, {String? blank, String? mal, String? short})
: this._dig(Digit.min(min, mal: mal, short: short), blank);