RefreshRouteOptions.withTaxiOptions constructor

RefreshRouteOptions.withTaxiOptions(
  1. TaxiOptions taxiOptions
)

Constructs a RefreshRouteOptions object with TaxiOptions.

  • taxiOptions Converts the route to a taxi 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.withTaxiOptions(TaxiOptions taxiOptions) => $prototype.withTaxiOptions(taxiOptions);