copyWith method
BicycleRouteSearchOptions
copyWith({
- bool? avoidCarRoads,
- bool? avoidStairways,
- bool? avoidUnderpassesAndOverpasses,
- List<
ExcludedArea> ? excludedAreas,
Implementation
BicycleRouteSearchOptions copyWith({
bool? avoidCarRoads,
bool? avoidStairways,
bool? avoidUnderpassesAndOverpasses,
List<ExcludedArea>? excludedAreas
}) {
return BicycleRouteSearchOptions(
avoidCarRoads: avoidCarRoads ?? this.avoidCarRoads,
avoidStairways: avoidStairways ?? this.avoidStairways,
avoidUnderpassesAndOverpasses: avoidUnderpassesAndOverpasses ?? this.avoidUnderpassesAndOverpasses,
excludedAreas: excludedAreas ?? this.excludedAreas
);
}