remove method

bool remove (T item)

Removes an item from the list.

This is O(N) in the number of items in the list.

Returns whether the item was present in the list.

Implementation

bool remove(T item) {
  _isDirty = true;
  return _list.remove(item);
}