toHex method
Encode to Hex String with prefix.
Example:
[0,1,2,3,4].toHex(); // "0x0001020304"
Implementation
String toHex() => '0x${toNoPrefixHex()}';
Encode to Hex String with prefix.
Example:
[0,1,2,3,4].toHex(); // "0x0001020304"
String toHex() => '0x${toNoPrefixHex()}';