alternatives property

bool alternatives
final

If set to true, specifies that the Directions service may provide more than one route alternative in the response. Note that providing route alternatives may increase the response time from the server. This is only available for requests without intermediate waypoints. For more information, see the guide to waypoints. https://developers.google.com/maps/documentation/directions/get-directions#Waypoints

Implementation

final bool alternatives;