RouteType enum

Inheritance
Implemented types
Available extensions

Values

tramOrStreetcarOrLightRail → const RouteType
const RouteType('Tram/Streetcar/Light rail', 'Tram, Streetcar, Light rail. Any light rail or street level system within a metropolitan area.', 0)
subwayOrMetro → const RouteType
const RouteType('Subway/Metro', 'Subway, Metro. Any underground rail system within a metropolitan area.', 1)
rail → const RouteType
const RouteType('Rail', 'Rail. Used for intercity or long-distance travel.', 2)
bus → const RouteType
const RouteType('Bus', 'Bus. Used for short- and long-distance bus routes.', 3)
ferry → const RouteType
const RouteType('Ferry', 'Ferry. Used for short- and long-distance boat service.', 4)
cableTram → const RouteType
const RouteType('Cable tram', 'Cable tram. Used for street-level rail cars where the cable runs beneath the vehicle (e.g., cable car in San Francisco).', 5)
aerialLift → const RouteType
const RouteType('Aerial lift', 'Aerial lift, suspended cable car (e.g., gondola lift, aerial tramway). Cable transport where cabins, cars, gondolas or open chairs are suspended by means of…
funicular → const RouteType
const RouteType('Funicular', 'Funicular. Any rail system designed for steep inclines.', 7)
trolleybus → const RouteType
const RouteType('Trolleybus', 'Trolleybus. Electric buses that draw power from overhead wires using poles.', 11)
monorail → const RouteType
const RouteType('Monorail', 'Monorail. Railway in which the track consists of a single rail or a beam.', 12)

Properties

description String
final
displayName String
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
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

Static Methods

forId(int id) RouteType

Constants

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