RouteTypePreferences enum Routes & Navigation

Route type preference

Inheritance
Available extensions

Values

none → const RouteTypePreferences

No preference regarding route type, unpaved road is good enough

bus → const RouteTypePreferences

Prefer buses

underground → const RouteTypePreferences

Prefer underground/overground subways/metro and underground railway/tunnel transportation

railway → const RouteTypePreferences

Prefer train and coach services

tram → const RouteTypePreferences

Prefer trams

waterTransport → const RouteTypePreferences

Prefer water transportation (boats, ships, gondolas, water taxis)

misc → const RouteTypePreferences

Prefer other means of transportation: funicular, telecabins, air transportation, taxis etc.

sharedBike → const RouteTypePreferences

Prefer shared bikes

sharedCar → const RouteTypePreferences

Prefer shared cars

sharedScooter → const RouteTypePreferences

Prefer shared scooters

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RouteTypePreferences>
A constant List of the values in this enum, in order of their declaration.