RefreshRouteOptions.withTruckOptions constructor
- TruckOptions truckOptions
Constructs a RefreshRouteOptions object with TruckOptions.
truckOptionsConverts the route to a truck 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.withTruckOptions(TruckOptions truckOptions) => $prototype.withTruckOptions(truckOptions);