SectionTransportMode enum

Specifies the Section mode of transport.

A Section may have a different transport mode than the one specified for route calculation. For example, a car route may have a section having ferry transport mode.

Values

car → const SectionTransportMode

Car mode of transport.

truck → const SectionTransportMode

Truck mode of transport.

pedestrian → const SectionTransportMode

Pedestrian mode of transport.

ferry → const SectionTransportMode

Ferry mode of transport.

carShuttleTrain → const SectionTransportMode

Mode of transport representing a shuttle train for cars.

scooter → const SectionTransportMode

Scooter mode of transport.

bicycle → const SectionTransportMode

Bicycle mode of transport.

publicTransit → const SectionTransportMode

A section with this mode is part of a public transit route. The actual transport mode can be obtained from Section.transitDetails.

taxi → const SectionTransportMode

Taxi mode of transport.

bus → const SectionTransportMode

Bus mode of transport. Denotes those vehicles operated by public transport provider. This transport mode has the access to the bus-only lane/road.

privateBus → const SectionTransportMode

Private bus mode of transport. Denotes those vehicles operated by private transport company. This transport mode does not have the access to the bus-only lane/road.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
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<SectionTransportMode>
A constant List of the values in this enum, in order of their declaration.