isEmpty property
bool
isEmpty
Returns true if there are no elements in this collection.
May be computed by checking if iterator.moveNext() returns false.
Implementation
bool get isEmpty {
if (this == null) {
return true;
}
return this!.isEmpty;
}