PrivateKey.fromHex constructor

PrivateKey.fromHex(
  1. String bytesHex
)

Implementation

factory PrivateKey.fromHex(String bytesHex) {
  return PrivateKey(Bytes.fromHex(bytesHex).byteList);
}