toHex method
Convert to Hex String with prefix.
Example:
HexData.fromBytes([0,1,2,3,4]).toHex(); // "0x0001020304"
Implementation
String toHex() => bytes.toHex();
Convert to Hex String with prefix.
Example:
HexData.fromBytes([0,1,2,3,4]).toHex(); // "0x0001020304"
String toHex() => bytes.toHex();