peekFirst property

T? peekFirst

Returns the first node data.

Implementation

T? get peekFirst => _head?.data;