RouteTravelMode class
A set of values used to specify the mode of travel.
NOTE: WALK
, BICYCLE
, and TWO_WHEELER
routes are in beta and might
sometimes be missing clear sidewalks, pedestrian paths, or bicycling paths.
You must display this warning to the user for all walking, bicycling, and
two-wheel routes that you display in your app.
- Inheritance
-
- Object
- ProtobufEnum
- RouteTravelMode
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
name
or thevalue
if names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → RouteTravelMode?
Constants
- BICYCLE → const RouteTravelMode
- DRIVE → const RouteTravelMode
- TRANSIT → const RouteTravelMode
- TRAVEL_MODE_UNSPECIFIED → const RouteTravelMode
- TWO_WHEELER → const RouteTravelMode
-
values
→ const List<
RouteTravelMode> - WALK → const RouteTravelMode