clear method
Removes all elements from the set.
final characters = <String>{'A', 'B', 'C'};
characters.clear(); // {}
Implementation
@override
void clear() {
_buckets = List.filled(_initialCapacity, null);
_capacity = _initialCapacity;
_size = 0;
}