intoStorySlideDraft method

StorySlideDraft intoStorySlideDraft()

convert this into a StorySlideDraft;

Implementation

StorySlideDraft intoStorySlideDraft() {
  var tmp0 = 0;
  tmp0 = _box.borrow();
  final tmp1 = _api._msgDraftIntoStorySlideDraft(
    tmp0,
  );
  final tmp3 = tmp1;
  final ffi.Pointer<ffi.Void> tmp3_0 = ffi.Pointer.fromAddress(tmp3);
  final tmp3_1 = _Box(_api, tmp3_0, "drop_box_StorySlideDraft");
  tmp3_1._finalizer = _api._registerFinalizer(tmp3_1);
  final tmp2 = StorySlideDraft._(_api, tmp3_1);
  return tmp2;
}