RefreshRouteOptions.withScooterOptions constructor

RefreshRouteOptions.withScooterOptions(
  1. ScooterOptions scooterOptions
)

Constructs a RefreshRouteOptions object with ScooterOptions.

  • scooterOptions Converts the route to a scooter 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.withScooterOptions(ScooterOptions scooterOptions) => $prototype.withScooterOptions(scooterOptions);