removeAll method Null safety

void removeAll (
  1. Iterable<Object?> elements
)
override

Removes each element of elements from this set.

Implementation

void removeAll(Iterable<Object?> elements) {
  for (Object? element in elements) remove(element);
}