copyWith method
Implementation
RoutePoint copyWith({
RouteDistance? distance
}) {
return RoutePoint(
distance ?? this.distance
);
}
RoutePoint copyWith({
RouteDistance? distance
}) {
return RoutePoint(
distance ?? this.distance
);
}