Secp256k1PrivateKey.fromBytes constructor
Factory method for creating a Secp256k1PrivateKey from a byte array.
Implementation
factory Secp256k1PrivateKey.fromBytes(List<int> keyBytes) {
final prv = ECDSAPrivateKey.fromBytesConst(bytes: keyBytes);
return Secp256k1PrivateKey._(prv);
}