peek method

T peek()

Returns the smallest queue element without removing it.

Implementation

T peek() => data.first;