fromSecp static method

PrivateKey fromSecp(
  1. SecpPrivateKey secpSk
)

Implementation

static PrivateKey fromSecp(SecpPrivateKey secpSk) {
  final sk = DartApi.native.privateKey.fromSecp(secpSk.ffi);
  return PrivateKey(sk, true);
}