clear method Null safety

void clear()
override

Removes all elements from the set.

Implementation

void clear() {
  _clear();
}