Digit constructor
Digit({
- String? mal,
Constrains the input data to the digits 0-9
.
mal
"malformed", the error message if non-digit characters are found;
the default value is 'non-digit character(s) found'.
Implementation
Digit({String? mal}) : _valDig = _DigitImpl(mal, const Ok().call).call;