isEmpty property

  1. @override
bool get isEmpty
override

Whether this collection contains no elements.

Implementation

@override
bool get isEmpty => this is Nil;