clear method

void clear()

Removes all elements from the set.

After this operation, the set will be empty.

Implementation

void clear() => _elements.clear();