normalizeHex static method
Implementation
static String normalizeHex(String hexString, {bool with0x = false}) {
if (!isHexBytes(hexString)) {
throw ArgumentException.invalidOperationArguments(
"normalizeHex",
name: "hexString",
reason: "Invalid hex string.",
);
}
return _normalizeHex(hexString, with0x: with0x);
}