Distance class
Details about the total distance covered by this leg, with the following elements:
value
indicates the distance in meterstext
contains a human-readable representation of the distance, displayed in units as used at the origin (or as overridden within theunits
parameter in the request). (For example, miles and feet will be used for any origin within the United States.) Note that regardless of what unit system is displayed as text, thedistance.value
field always contains a value expressed in meters.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Contains a human-readable representation of the
distance, displayed in units as used at the origin (or as
overridden within the
units
parameter in the request). (For example, miles and feet will be used for any origin within the United States.) Note that regardless of what unit system is displayed as text, thedistance.value
field always contains a value expressed in meters.final - value → num?
-
Indicates the distance in meters
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited