push method

void push(
  1. T item
)

Pushes the given item into stack

Implementation

void push(T item) => _items.add(item);