isNotEmpty property Null safety
override
Whether this collection has at least one element.
May be computed by checking if iterator.moveNext()
returns true
.
Implementation
bool get isNotEmpty => length != 0;
Whether this collection has at least one element.
May be computed by checking if iterator.moveNext()
returns true
.
bool get isNotEmpty => length != 0;