RefreshRouteOptions.withCarOptions constructor
- CarOptions carOptions
Constructs a RefreshRouteOptions object with CarOptions.
carOptionsConverts the route to a car route, if a different transport mode was used for the RouteHandle. Note that in case this is not possible, an RoutingError.noRouteFound error will be triggered.
Implementation
factory RefreshRouteOptions.withCarOptions(CarOptions carOptions) => $prototype.withCarOptions(carOptions);