isHexPrefixed function

bool isHexPrefixed(
  1. String str
)

Implementation

bool isHexPrefixed(String str) {
  ArgumentError.checkNotNull(str);

  return str.startsWith('0x');
}