waypoints

val waypoints: List<DirectionsWaypoint>?

Compatibility function to always access the valid DirectionsWaypoints collection.

Returns DirectionsResponse.waypoints or DirectionsRoute.waypoints depending on whether RouteOptions.waypointsPerRoute was set.