fromSecp static method

PublicKey fromSecp(
  1. SecpPublicKey secp_pk
)

Implementation

static PublicKey fromSecp(SecpPublicKey secp_pk) {
  final pk = DartApi.native.publicKey.fromSecp(secp_pk.ffi);
  return PublicKey(pk, true);
}