availableTravelModes property

List<TravelMode>? availableTravelModes
final

Contains an array of available travel modes. This field is returned when a request specifies a travel mode and gets no results. The array contains the available travel modes in the countries of the given set of waypoints. This field is not returned if one or more of the waypoints are via: waypoints. See details below.

Implementation

final List<TravelMode>? availableTravelModes;