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