RefreshRouteOptions.withEVCarOptions constructor - RefreshRouteOptions - routing library - Dart API
RefreshRouteOptions.withEVCarOptions
RefreshRouteOptions.withEVCarOptions constructor
- EVCarOptions evCarOptions
Constructs a RefreshRouteOptions object with EVCarOptions.
evCarOptionsConverts the route to an electric 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.withEVCarOptions(EVCarOptions evCarOptions) => $prototype.withEVCarOptions(evCarOptions);