Hex constructor

Hex({
  1. String? mal,
})

Constrains the input data to hexadecimal digits 0-9A-F.

mal the error message if non-hex characters are found; the default value is 'non-hex-digit character(s) found'.

Implementation

Hex({String? mal}) : _valHex = _HexImpl(mal, const Ok());