Num constructor

Num({
  1. String? mal,
})

Constrains data to numeric values.

mal "malformed", the error message in case of non-numeric input values; the default value is 'not a number'.

Implementation

Num({String? mal}) : _val = _AsNum(mal, const Ok().call);