add method

void add(
  1. T item
)

Adds item to the end of this list, extending the length by one.

Implementation

void add(T item) {
  _items.add(item);
}