keyByPk method

Implementation

MorpheusPrivateKey keyByPk(PublicKey pk) {
  final ffiMorpheusSk = DartApi.native.morpheusPrivate
      .keyByPk(_ffi, pk.ffi)
      .extract((res) => res.asPointer<Void>());
  return MorpheusPrivateKey._(ffiMorpheusSk, true);
}