popUntil method

void popUntil (
  1. RoutePredicate predicate
)

Calls pop repeatedly until the predicate returns true.

Implementation

void popUntil(RoutePredicate predicate) {
  navigator.popUntil(predicate);
}