routes property

List<DrivingRoute> get routes

Resulting routes for the previous request. For requestAlternatives() it will contain the current route and fastest alternative route (if available) along with the received alternatives. Current route always will be the first one and fastest alternative will be the second.

Implementation

core.List<directions_driving_route.DrivingRoute> get routes;