remove method

Convo remove(
  1. int index
)

Moves the element out of this list and returns it

Implementation

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