isNotEmpty property
bool
isNotEmpty
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 {
if (this == null) {
return false;
}
return this!.isNotEmpty;
}