Secp256k1PublicKey.from constructor

Secp256k1PublicKey.from(
  1. PublicKey key
)

Implementation

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