replaceRoute<T extends Object?> method
Future<T?>
replaceRoute<T extends Object?>(
- PageRouteInfo route, {
- OnNavigationFailure? onFailure,
Implementation
@optionalTypeArgs
Future<T?> replaceRoute<T extends Object?>(PageRouteInfo route,
{OnNavigationFailure? onFailure}) =>
router.replace<T>(route, onFailure: onFailure);