DirectionsRoute class abstract
Routes consist of nested legs
and steps
.
Properties:
- 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.
- bounds
- copyrights - Contains an array of warnings to be displayed when showing these directions. You must handle and display these warnings yourself.
- summary - Contains a short textual description for the route, suitable for naming and disambiguating the route from alternatives.
- waypointOrder - An array indicating the order of any waypoints in the calculated route. This waypoints may be reordered if the request was passed optimize:true within its waypoints parameter.
- warnings - Contains an array of warnings to be displayed when showing these directions. You must handle and display these warnings yourself.
- overviewPolyline
- fare
Constructors
- DirectionsRoute([void updates(DirectionsRouteBuilder b)])
-
factory
Properties
- bounds → Bounds
-
no setter
- copyrights → String
-
Contains an array of warnings to be displayed when showing these directions. You must handle and display these warnings yourself.
no setter
- fare → Fare?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
legs
→ BuiltList<
DirectionsLeg> -
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.
no setter
- overviewPolyline → DirectionsPolyline
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → String
-
Contains a short textual description for the route, suitable for naming and disambiguating the route from alternatives.
no setter
-
warnings
→ BuiltList<
String> -
Contains an array of warnings to be displayed when showing these directions. You must handle and display these warnings yourself.
no setter
-
waypointOrder
→ BuiltList<
int> -
An array indicating the order of any waypoints in the calculated route. This waypoints may be reordered if the request was passed optimize:true within its waypoints parameter.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(DirectionsRouteBuilder)) → DirectionsRoute -
Rebuilds the instance.
inherited
-
toBuilder(
) → DirectionsRouteBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
DirectionsRoute> -
no setter