Int.min constructor

Int.min(
  1. int min, {
  2. String? mal,
  3. String? small,
})

Constrains data to integer numbers greater than or equal to min.

min the smallest valid integer number. mal "malformed", the error message for non-integer input values; the default value is 'non-integer input value'. small the error message if an input value is too small; the default value is 'it cannot be < min'.

Implementation

Int.min(int min, {String? mal, String? small})
    : _val = _AsInt(mal, _Logic(min: min, s: small).call);