addRegisterBeforeProof method

MorpheusAssetBuilder addRegisterBeforeProof(
  1. ContentId contentId
)

Implementation

MorpheusAssetBuilder addRegisterBeforeProof(ContentId contentId) {
  final nativeCid = contentId.value.toNativeUtf8();
  try {
    DartApi.native.morpheusAssetBuilder
        .addRegisterBeforeProof(_ffi, nativeCid)
        .extract((res) => res.asVoid);
    return this;
  } finally {
    calloc.free(nativeCid);
  }
}