isEmpty property

bool get isEmpty

Returns true if the set contains no elements.

A set with cardinality 0 is called an empty set or null set. Notation: ∅ or {}

Implementation

bool get isEmpty => _elements.isEmpty;