peek method

T peek()

Returns the latest pushed item without removing it.

Implementation

T peek() => _items.last;