restorableReplace<T extends Object?> method
- @optionalTypeArgs
- required Route oldRoute,
- required RestorableRouteBuilder<
T> newRouteBuilder, - Object? arguments,
Replaces a route on the navigator that most tightly encloses the given context with a new route.
Implementation
@optionalTypeArgs
String restorableReplace<T extends Object?>(
{required Route<dynamic> oldRoute,
required RestorableRouteBuilder<T> newRouteBuilder,
Object? arguments}) =>
v.App.appState!.navigator!.restorableReplace<T>(
oldRoute: oldRoute,
newRouteBuilder: newRouteBuilder,
arguments: arguments);