isEmpty property

bool isEmpty

Returns true if there are no nodes in this list.

Implementation

bool get isEmpty => _head == null;