copyWith method
RouteEditorRoutesInfo
copyWith({
- List<
TrafficRoute> ? routes, - RouteEditorRouteParams? routeParams,
Implementation
RouteEditorRoutesInfo copyWith({
List<TrafficRoute>? routes,
RouteEditorRouteParams? routeParams
}) {
return RouteEditorRoutesInfo(
routes: routes ?? this.routes,
routeParams: routeParams ?? this.routeParams
);
}