pushNamedAndRemoveUntil method

  1. @override
void pushNamedAndRemoveUntil(
  1. String route, {
  2. Object? arguments,
  3. RoutePredicate? predicate,
})
override

Adds a route into the navigation stack and removes everything until the condition specified in predicate is satisfied

Implementation

@override
void pushNamedAndRemoveUntil(
  String route, {
  Object? arguments,
  RoutePredicate? predicate,
}) =>
    dispatch!(NavigateAction.pushNamedAndRemoveUntil(
      route,
      predicate!,
      arguments: arguments,
    ));