isNotEmpty property Null safety

bool isNotEmpty

Whether this collection has at least one element.

May be computed by checking if iterator.moveNext() returns true.

Implementation

bool get isNotEmpty => !isEmpty;