toHex method
Convert the public key bytes to hexadecimal string with optional prefix
Implementation
@override
String toHex({bool lowerCase = true, String prefix = ''}) {
return BytesUtils.toHexString(toBytes(),
lowerCase: lowerCase, prefix: prefix);
}