isHexadecimal static method

bool isHexadecimal(
  1. String value
)

check if the string valueis a hexadecimal number

Implementation

static bool isHexadecimal(String value) {
  return _hexadecimal.hasMatch(value);
}