remove method

void remove(
  1. dynamic value
)

Removes a single item from the list.

This method accepts a String as a value or an ItemSerializable, where its id is going to be used.

Implementation

void remove(value) {
  _items.remove(_getKey(value));
}