removeWhere method
Removes every element that satisfies test.
final s = Ref({1, 2, 3});
s.removeWhere((e) => e.isOdd); // -> {2}
Implementation
void removeWhere(bool Function(T element) test) {
$.removeWhere(test);
notifyChange();
}
Removes every element that satisfies test.
final s = Ref({1, 2, 3});
s.removeWhere((e) => e.isOdd); // -> {2}
void removeWhere(bool Function(T element) test) {
$.removeWhere(test);
notifyChange();
}