RefreshRouteOptions.withBusOptions constructor

RefreshRouteOptions.withBusOptions(
  1. BusOptions busOptions
)

Constructs a RefreshRouteOptions object with BusOptions.

  • busOptions Converts the route to a bus 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.withBusOptions(BusOptions busOptions) => $prototype.withBusOptions(busOptions);