Removes all elements matched by test from the queue.
test
The test function must not throw or modify the queue.
@override void removeWhere(bool Function(E element) test) => apply(removeWhere, [test]);