pop method

T pop()

Removes the latest pushed item and returns it.

Implementation

T pop() => _items.removeLast();