ReqHex.min constructor

ReqHex.min(
  1. int min, {
  2. String? blank,
  3. String? mal,
  4. String? short,
})

Constrains the input data to the hexadecimal digits and its length to a minimum of min hex-digits.

min the minimum number of hex-digits; it must be > 0. blank the error message in case of a null or empty input value. mal the error message if non-hex-digit characters are found. short the error message if the input length is shorter than min digits.

Implementation

ReqHex.min(int min, {String? blank, String? mal, String? short})
    : _reqHex = Pair.str2(
        Req(blank: blank).call,
        Hex.min(min, mal: mal, short: short).call,
      );