copyWith method
Implementation
RoutingState copyWith({
String? currentRoute,
Map<String, dynamic>? params,
Map<String, dynamic>? queryParams,
Object? arguments,
List<String>? routeHistory,
}) {
return RoutingState(
currentRoute: currentRoute ?? this.currentRoute,
params: params ?? this.params,
queryParams: queryParams ?? this.queryParams,
arguments: arguments ?? this.arguments,
routeHistory: routeHistory ?? this.routeHistory,
);
}