Replace current route.
Future<void> replaceRoute(String path, {Map<String, String>? params}) => router.replace(path, params: params);