restorablePushAndRemoveUntil<T extends Object?> method
- @optionalTypeArgs
- 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}) =>
v.App.appState!.navigator!.restorablePushAndRemoveUntil<T>(
newRouteBuilder, predicate,
arguments: arguments);