bool removeAll(Iterable<int> arr) { bool removedAny = false; for (final e in arr) { removedAny = remove(e) || removedAny; } return removedAny; }