Secp256k1PublicKey.from constructor
Secp256k1PublicKey.from(
- PublicKey key
Implementation
factory Secp256k1PublicKey.from(PublicKey key) {
return Secp256k1PublicKey.fromDer(key.toDer());
}
factory Secp256k1PublicKey.from(PublicKey key) {
return Secp256k1PublicKey.fromDer(key.toDer());
}