Sets<E> extension
Provides functions for working with Sets.
- on
-
- Set<
E>
- Set<
Methods
-
replaceAll(
void function(bool replace(E element), E element)) → void -
Available on Set<
Replaces elements usingE> , provided by the Sets extensionfunction. -
toggle(
E element) → void -
Available on Set<
Adds theE> , provided by the Sets extensionelementto the set if it is not in the set, removes theelementif it is in the set.