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