ReqLen.min constructor Null safety

  1. int min,
  2. {String? blank,
  3. String? short}

Constrains the length (number of items) to a minimum amount.

min the minimum number of items; it must be > 0. blank the error message in case of a null or empty input value. short the error message if the length < min.


ReqLen.min(int min, {String? blank, String? short})
    : _reqLenVal = Pair(Req(blank: blank), Len.min(min, short: short));