remove method

void remove(
  1. dynamic value
)

Removes a single item from the list.

This method accepts an int as an index, an String as an id, and an ItemSerializable as the item to remove.

Implementation

void remove(value) {
  _items.removeAt(_getIndex(value));
}