copyWith method
SpeedRangeToStyleZoom
copyWith({
- SpeedRange? range,
- RouteDistance? minDistanceToManeuver,
- RouteDistance? maxDistanceToManeuver,
- StyleZoom? styleZoom,
Implementation
SpeedRangeToStyleZoom copyWith({
SpeedRange? range,
RouteDistance? minDistanceToManeuver,
RouteDistance? maxDistanceToManeuver,
StyleZoom? styleZoom
}) {
return SpeedRangeToStyleZoom(
range: range ?? this.range,
minDistanceToManeuver: minDistanceToManeuver ?? this.minDistanceToManeuver,
maxDistanceToManeuver: maxDistanceToManeuver ?? this.maxDistanceToManeuver,
styleZoom: styleZoom ?? this.styleZoom
);
}