isNotEmpty property

bool isNotEmpty

Returns true if there is at least one node in this list.

Implementation

bool get isNotEmpty => _head != null;