peekLast method

E? peekLast()

Returns the last element without removing it.

Implementation

E? peekLast() {
  return _tail?.data;
}