ReqInt.neg constructor

ReqInt.neg({
  1. String? blank,
  2. String? mal,
  3. String? pos,
})

Constrains data to negative integer numbers (zero excluded).

mal "malformed", the error message for non-integer input values. pos the error message if an input value is positive.

Implementation

ReqInt.neg({String? blank, String? mal, String? pos})
    : this._int(Int.neg(mal: mal, pos: pos), blank);