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 => length != 0;
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 => length != 0;