popUntilAndPush<T> method

Future<T> popUntilAndPush<T>(
  1. AppRoute route,
  2. bool predicate(
    1. NomoPage
    )
)

Implementation

Future<T> popUntilAndPush<T>(
    AppRoute route, bool Function(NomoPage) predicate) {
  popUntil(predicate);
  return push(route);
}