keyById method

PublicKey keyById(
  1. KeyId keyId
)

Implementation

PublicKey keyById(KeyId keyId) {
  final pk = DartApi.native.morpheusPublic
      .keyById(_ffi, keyId.ffi)
      .extract((res) => res.asPointer<Void>());
  return PublicKey(pk, true);
}