MoneroPrivateKey.fromBytes constructor

MoneroPrivateKey.fromBytes(
  1. List<int> keyBytes
)

Factory method to create a MoneroPrivateKey from its byte representation.

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

Implementation

factory MoneroPrivateKey.fromBytes(List<int> keyBytes) {
  return MoneroPrivateKey._(_keyFromBytes(keyBytes));
}