restorablePushAndRemoveUntil<T extends Object?> method
String
restorablePushAndRemoveUntil<T extends Object?>(
- RestorableRouteBuilder<
T> newRouteBuilder, - RoutePredicate predicate, {
- Object? arguments,
Push a new route onto the navigator, and then remove all the previous
routes until the predicate
returns true.
Implementation
@optionalTypeArgs
String restorablePushAndRemoveUntil<T extends Object?>(
RestorableRouteBuilder<T> newRouteBuilder, RoutePredicate predicate,
{Object? arguments}) =>
App.router.restorablePushAndRemoveUntil<T>(newRouteBuilder, predicate,
arguments: arguments);