popUntil method

void popUntil(
  1. RoutePredicate predicate
)

Calls pop repeatedly until the predicate returns true.

Implementation

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