remove method
- int index
Moves the element out of this list and returns it
Implementation
DeviceRecord remove(int index) {
final address = _api._ffiListDeviceRecordRemove(_box.borrow(), index);
final reference =
_Box(_api, ffi.Pointer.fromAddress(address), "drop_box_DeviceRecord");
reference._finalizer = _api._registerFinalizer(reference);
return DeviceRecord._(_api, reference);
}