popUntil method
Implementation
void popUntil(bool Function(T stackElement) test) {
while (glance() != null && !test(glance() as T)) {
_stack.pop();
}
notifyListeners();
}
void popUntil(bool Function(T stackElement) test) {
while (glance() != null && !test(glance() as T)) {
_stack.pop();
}
notifyListeners();
}