RefreshRouteOptions.withBusOptions constructor - RefreshRouteOptions - routing library - Dart API
RefreshRouteOptions.withBusOptions
RefreshRouteOptions.withBusOptions constructor
- BusOptions busOptions
Constructs a RefreshRouteOptions object with BusOptions.
busOptionsConverts 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);