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