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