MoneroPublicKey.fromBytes constructor

MoneroPublicKey.fromBytes(
  1. List<int> pubKey
)

Factory method to create a MoneroPublicKey from its byte representation.

Given a List<int> pubKey, this method creates a new MoneroPublicKey instance by invoking the private constructor _keyFromBytes with the provided byte data.

Implementation

factory MoneroPublicKey.fromBytes(List<int> pubKey) {
  return MoneroPublicKey._(_keyFromBytes(pubKey));
}