clear method Null safety

  1. @override
void clear()
override

Removes all elements from the set.

Implementation

@override
void clear() {
  _value.clear();
  refresh();
}