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 => !isEmpty;
Whether this collection has at least one element.
May be computed by checking if iterator.moveNext()
returns true
.
bool get isNotEmpty => !isEmpty;