remove method

bool remove(
  1. T? item
)

Removes item from List and notifies stream.

Implementation

bool remove(T? item) {
  final removed = _list.remove(item);

  if (removed) {
    notify();
  }

  return removed;
}