clear method
void
clear()
Removes all elements from the set.
final characters = <String>{'A', 'B', 'C'};
characters.clear(); // {}
Implementation
void clear() {
Iterable<E> removed = toList();
super.clear();
for (E el in removed) {
_changes.add(SetChange<E>.remove(el));
}
}