hardRemoveWhere method
Removes all elements that satisfy the given predicate where and notifies listeners.
where: A function that returnstruefor elements to remove.
Implementation
void hardRemoveWhere(bool Function(T) where) {
value.removeWhere(where);
notify();
}