toHex method
Implementation
@override
String toHex(
{bool withPrefix = true, bool lowerCase = true, String? prefix = ""}) {
List<int> key = _publicKey.point.toBytes();
if (withPrefix) {
key = compressed;
}
return BytesUtils.toHexString(key, prefix: prefix, lowerCase: lowerCase);
}