RefreshRouteOptions.withTransportMode constructor

RefreshRouteOptions.withTransportMode(
  1. TransportMode transportMode
)

Constructs a RefreshRouteOptions object with TransportMode.

  • transportMode Updates the transport mode for the route.

Implementation

factory RefreshRouteOptions.withTransportMode(TransportMode transportMode) => $prototype.withTransportMode(transportMode);