clear method Null safety

void clear ()

Removes all elements in the set.

Implementation

void clear();