add method

void add(
  1. T item
)

Adds item to List and notifies stream.

Implementation

void add(T item) {
  _list.add(item);

  notify();
}