RefreshRouteOptions.withTaxiOptions constructor - RefreshRouteOptions - routing library - Dart API
RefreshRouteOptions.withTaxiOptions
RefreshRouteOptions.withTaxiOptions constructor
- TaxiOptions taxiOptions
Constructs a RefreshRouteOptions object with TaxiOptions.
taxiOptionsConverts 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);