remove method

SuperInviteToken remove(
  1. int index
)

Moves the element out of this list and returns it

Implementation

SuperInviteToken remove(int index) {
  final address = _api._ffiListSuperInviteTokenRemove(_box.borrow(), index);
  final reference = _Box(
      _api, ffi.Pointer.fromAddress(address), "drop_box_SuperInviteToken");
  reference._finalizer = _api._registerFinalizer(reference);
  return SuperInviteToken._(_api, reference);
}