hexHasPrefix function

bool hexHasPrefix(
  1. String value
)

Implementation

bool hexHasPrefix(String value) {
  return isHex(value, ignoreLength: true) && value.substring(0, 2) == '0x';
}