RefreshRouteOptions.withBicycleOptions constructor

RefreshRouteOptions.withBicycleOptions(
  1. BicycleOptions bicycleOptions
)

Constructs a RefreshRouteOptions object with BicycleOptions.

  • bicycleOptions Converts the route to a bicycle 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.withBicycleOptions(BicycleOptions bicycleOptions) => $prototype.withBicycleOptions(bicycleOptions);