copyWith method
Implementation
PedestrianBriefRouteInfo copyWith({
RouteDistance? length,
String? landmark
}) {
return PedestrianBriefRouteInfo(
length: length ?? this.length,
landmark: landmark ?? this.landmark
);
}
PedestrianBriefRouteInfo copyWith({
RouteDistance? length,
String? landmark
}) {
return PedestrianBriefRouteInfo(
length: length ?? this.length,
landmark: landmark ?? this.landmark
);
}