PrivateKey.fromHex constructor

PrivateKey.fromHex(
  1. String hexString
)

convert a hex string to a private key(bigint)

Implementation

PrivateKey.fromHex(String hexString) {
  D = BigInt.parse(hexString, radix: 16);
}