isNotEmpty property Null safety
override
Returns true if there is at least one element in this collection.
May be computed by checking if iterator.moveNext()
returns true
.
Implementation
bool get isNotEmpty => _root != null;
Returns true if there is at least one element in this collection.
May be computed by checking if iterator.moveNext()
returns true
.
bool get isNotEmpty => _root != null;