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