getSlide method

StorySlide? getSlide(
  1. int pos
)

The slides belonging to this news item

Implementation

StorySlide? getSlide(
  int pos,
) {
  final tmp1 = pos;
  var tmp0 = 0;
  var tmp2 = 0;
  tmp0 = _box.borrow();
  tmp2 = tmp1;
  final tmp3 = _api._storyGetSlide(
    tmp0,
    tmp2,
  );
  final tmp5 = tmp3.arg0;
  final tmp6 = tmp3.arg1;
  if (tmp5 == 0) {
    return null;
  }
  final ffi.Pointer<ffi.Void> tmp6_0 = ffi.Pointer.fromAddress(tmp6);
  final tmp6_1 = _Box(_api, tmp6_0, "drop_box_StorySlide");
  tmp6_1._finalizer = _api._registerFinalizer(tmp6_1);
  final tmp4 = StorySlide._(_api, tmp6_1);
  return tmp4;
}