signWithKey method

MorpheusSignedOperation signWithKey(
  1. PrivateKey privateKey
)

Implementation

MorpheusSignedOperation signWithKey(PrivateKey privateKey) {
  final signed = DartApi.native.morpheusOperationSigner
      .signWithKey(_ffi, privateKey.ffi)
      .extract((res) => res.asPointer<Void>());
  return MorpheusSignedOperation(signed, true);
}