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