copyWith method
Implementation
DynamicRouteInfo copyWith({
RoadEventRouteAttribute? roadEvents,
Traffic? traffic
}) {
return DynamicRouteInfo(
roadEvents: roadEvents ?? this.roadEvents,
traffic: traffic ?? this.traffic
);
}
DynamicRouteInfo copyWith({
RoadEventRouteAttribute? roadEvents,
Traffic? traffic
}) {
return DynamicRouteInfo(
roadEvents: roadEvents ?? this.roadEvents,
traffic: traffic ?? this.traffic
);
}