removeWhere method
override
Removes all elements of this set that satisfy test
.
Implementation
void removeWhere(bool test(V element)) {
var toRemove = [];
_baseMap.forEach((key, value) {
if (test(value)) toRemove.add(key);
});
toRemove.forEach(_baseMap.remove);
}