isEmpty property Null safety
override
Whether this collection has no elements.
May be computed by checking if iterator.moveNext()
returns false
.
Implementation
bool get isEmpty => identical(_sentinel._nextLink, _sentinel);
Whether this collection has no elements.
May be computed by checking if iterator.moveNext()
returns false
.
bool get isEmpty => identical(_sentinel._nextLink, _sentinel);