check if the string valueis a hexadecimal number
value
static bool isHexadecimal(String value) { return _hexadecimal.hasMatch(value); }