removeAll abstract method
Removes each element of elements
from this set.
final characters = <String>{'A', 'B', 'C'};
characters.removeAll({'A', 'B', 'X'});
print(characters); // {C}
Implementation
void removeAll(Iterable<Object?> elements);
Removes each element of elements
from this set.
final characters = <String>{'A', 'B', 'C'};
characters.removeAll({'A', 'B', 'X'});
print(characters); // {C}
void removeAll(Iterable<Object?> elements);