Hex.min constructor
Constrains the input data to the hex-digits 0-9A–F
and its length
(number of hex-digits) to a minimum of min
hex-digits.
min
the minimum number of hex-digits; it must be > 0.
mal
the error message if non-hex characters are found; the default value
is 'non-hex-digit character(s) found'.
short
the error message if the input length is shorter than min
digits.
Implementation
Hex.min(int min, {String? mal, String? short})
: assert(min > 0),
_valHex = _HexImpl(mal, Len.min(min, short: short));