ReqInt constructor

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

Constrains data to integer numbers.

blank the error message in case of a null or empty input value. mal "malformed", the error message for non-integer input values.

Implementation

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