XRPPublicKey.fromHex constructor

XRPPublicKey.fromHex(
  1. String public
)

Creates an XRPPublicKey from a hexadecimal string.

Implementation

factory XRPPublicKey.fromHex(String public) {
  return XRPPublicKey.fromBytes(BytesUtils.fromHexString(public));
}