RefreshRouteOptions.withScooterOptions constructor - RefreshRouteOptions - routing library - Dart API
RefreshRouteOptions.withScooterOptions
RefreshRouteOptions.withScooterOptions constructor
- ScooterOptions scooterOptions
Constructs a RefreshRouteOptions object with ScooterOptions.
scooterOptionsConverts 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);