popUntil method

void popUntil(
  1. RoutePredicate predicate
)

Calls pop repeatedly until the predicate returns true.

Implementation

void popUntil(RoutePredicate predicate) => appState!.popUntil(predicate);