clear method Null safety

void clear()

Removes all elements from the set.

Implementation

void clear();