peek method

T peek()

returns the item onf the top of the stack but does not remove the item.

Implementation

T peek() => _stack.first;