PTRouteType enum Maps & 3D Scenes

Enumeration of public transport route types.

Mirrors common route categories (bus, tram, rail, etc.) used in GTFS-like data models.

Also see:

Inheritance
Available extensions

Values

bus → const PTRouteType

Bus or trolleybus routes.

underground → const PTRouteType

Underground / metro routes.

railway → const PTRouteType

Railway / intercity rail.

tram → const PTRouteType

Tram / streetcar / light rail.

waterTransport → const PTRouteType

Waterborne transport such as ferries.

misc → const PTRouteType

Miscellaneous or unknown route types.

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<PTRouteType>
A constant List of the values in this enum, in order of their declaration.