swapSlides method

void swapSlides(
  1. int from,
  2. int to
)

change position of slides draft of this news entry

Implementation

void swapSlides(
  int from,
  int to,
) {
  final tmp1 = from;
  final tmp3 = to;
  var tmp0 = 0;
  var tmp2 = 0;
  var tmp4 = 0;
  tmp0 = _box.borrow();
  tmp2 = tmp1;
  tmp4 = tmp3;
  _api._newsEntryDraftSwapSlides(
    tmp0,
    tmp2,
    tmp4,
  );
  return;
}