RefreshRouteOptions.withCarOptions constructor

RefreshRouteOptions.withCarOptions(
  1. CarOptions carOptions
)

Constructs a RefreshRouteOptions object with CarOptions.

  • carOptions Converts 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);