Secp256k1PrivateKeyEcdsa.fromBytes constructor
Factory method for creating a Secp256k1PrivateKeyEcdsa from a byte array.
Implementation
factory Secp256k1PrivateKeyEcdsa.fromBytes(List<int> keyBytes) {
final prv = ECDSAPrivateKey.fromBytes(keyBytes, Curves.generatorSecp256k1);
return Secp256k1PrivateKeyEcdsa._(prv);
}