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 => _root == null;
Whether this collection has no elements.
May be computed by checking if iterator.moveNext()
returns false
.
bool get isEmpty => _root == null;