toHex method
Returns the hexadecimal representation of the public key.
Implementation
@override
String toHex(
{PubKeyModes pubkeyMode = PubKeyModes.compressed,
bool lowerCase = false}) {
return BytesUtils.toHexString(toBytes(pubkeyMode: pubkeyMode),
lowerCase: lowerCase);
}