TravelMode class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
name
→ String
-
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Constants
-
BICYCLING
→ const TravelMode
-
DRIVING
(default) indicates calculation using the road network. - BICYCLING
requests calculation for bicycling via bicycle paths & preferred streets (where available). - TRANSIT
requests calculation via public transit routes (where available). - WALKING
requests calculation for walking via pedestrian paths & sidewalks (where available).
-
DRIVING
→ const TravelMode
-
DRIVING
(default) indicates calculation using the road network. - BICYCLING
requests calculation for bicycling via bicycle paths & preferred streets (where available). - TRANSIT
requests calculation via public transit routes (where available). - WALKING
requests calculation for walking via pedestrian paths & sidewalks (where available).
-
TRANSIT
→ const TravelMode
-
DRIVING
(default) indicates calculation using the road network. - BICYCLING
requests calculation for bicycling via bicycle paths & preferred streets (where available). - TRANSIT
requests calculation via public transit routes (where available). - WALKING
requests calculation for walking via pedestrian paths & sidewalks (where available).
-
WALKING
→ const TravelMode
-
DRIVING
(default) indicates calculation using the road network. - BICYCLING
requests calculation for bicycling via bicycle paths & preferred streets (where available). - TRANSIT
requests calculation via public transit routes (where available). - WALKING
requests calculation for walking via pedestrian paths & sidewalks (where available).