ReqNum constructor

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

Constrains data to numeric values.

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

Implementation

ReqNum({String? blank, String? mal}) : this._num(Num(mal: mal), blank);