isHexadecimal function

bool isHexadecimal(
  1. String str
)

check if the string is a hexadecimal number

Implementation

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