RefreshRouteOptions.withPrivateBusOptions constructor

RefreshRouteOptions.withPrivateBusOptions(
  1. PrivateBusOptions privateBusOptions
)

Constructs a RefreshRouteOptions object with PrivateBusOptions.

  • privateBusOptions Converts the route to a private 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.withPrivateBusOptions(PrivateBusOptions privateBusOptions) => $prototype.withPrivateBusOptions(privateBusOptions);