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