restorableReplaceRouteBelow<T extends Object?> method
String
restorableReplaceRouteBelow<T extends Object?>({
- required Route anchorRoute,
- required RestorableRouteBuilder<
T> newRouteBuilder, - Object? arguments,
Replaces a route on the navigator with a new route. The route to be
replaced is the one below the given anchorRoute
.
Implementation
@optionalTypeArgs
String restorableReplaceRouteBelow<T extends Object?>(
{required Route<dynamic> anchorRoute,
required RestorableRouteBuilder<T> newRouteBuilder,
Object? arguments}) =>
App.router.restorableReplaceRouteBelow<T>(
anchorRoute: anchorRoute,
newRouteBuilder: newRouteBuilder,
arguments: arguments);