fromSecp static method

PublicKey fromSecp(
  1. SecpPublicKey secpPk
)

Implementation

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