copy

fun copy(id: RouteStopId = this.id, place: Place = this.place, navigableCoordinates: List<GeoPoint> = this.navigableCoordinates, routeOffset: Distance = this.routeOffset, roadSide: RoadSide? = this.roadSide, arrivalEnergy: Energy? = this.arrivalEnergy, chargingInformation: ChargingInformation? = this.chargingInformation, sourceType: RouteStop.SourceType = this.sourceType): RouteStop

Creates a copy of this RouteStop object, with the option to modify some of its properties.

Return

A copy of this RouteStop object, with optionally modified properties.