copyWith method
Implementation
BetterRouteInfo copyWith({
TrafficRoute? trafficRoute,
RoutePoint? startPoint
}) {
return BetterRouteInfo(
trafficRoute: trafficRoute ?? this.trafficRoute,
startPoint: startPoint ?? this.startPoint
);
}