isHexadecimal property
bool
get
isHexadecimal
Checks if the string can be parsed as a hexadecimal number, which only contains characters 0-9 and A-F or a-f.
Implementation
bool get isHexadecimal => toIntOrNull(radix: 16) != null;