legs property

  1. @BuiltValueField(wireName: r'legs')
BuiltList<DirectionsLeg>? legs

An array which contains information about a leg of the route, between two locations within the given route. A separate leg will be present for each waypoint or destination specified. (A route with no waypoints will contain exactly one leg within the legs array.) Each leg consists of a series of steps.

Implementation

@BuiltValueField(wireName: r'legs')
BuiltList<DirectionsLeg>? get legs;