isEmpty method Null safety

  1. @override
bool isEmpty()
override

Returns true if the collection is empty (contains no elements), false otherwise.

Implementation

@override
bool isEmpty();