restorablePushNamedAndRemoveUntil<T extends Object?> method
String
restorablePushNamedAndRemoveUntil<T extends Object?>(
- String newRouteName,
- RoutePredicate predicate, {
- Object? arguments,
Push the route with the given name onto the navigator that most tightly
encloses the given context, and then remove all the previous routes until
the predicate
returns true.
Implementation
@optionalTypeArgs
String restorablePushNamedAndRemoveUntil<T extends Object?>(
String newRouteName, RoutePredicate predicate, {Object? arguments}) =>
App.router.restorablePushNamedAndRemoveUntil<T>(newRouteName, predicate,
arguments: arguments);