VehicleType class

Type of vehicle.

Constructors

VehicleType(String? _name)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
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.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override

Static Properties

values List<VehicleType>
final

Constants

bus → const VehicleType
Bus.
cableCard → const VehicleType
A vehicle that operates on a cable, usually on the ground. Aerial cable cars may be of the type GONDOLA_LIFT.
commuterTrain → const VehicleType
Commuter rail.
ferry → const VehicleType
Ferry.
funicular → const VehicleType
A vehicle that is pulled up a steep incline by a cable.
gondolaLift → const VehicleType
An aerial cable car.
heavyRail → const VehicleType
Heavy rail.
highSpeedTrain → const VehicleType
High speed train.
intercityBus → const VehicleType
Intercity bus.
longDistanceTrain → const VehicleType
Long distance train.
metroRail → const VehicleType
Light rail.
monorail → const VehicleType
Monorail.
other → const VehicleType
Other vehicles.
rail → const VehicleType
Rail.
shareTaxi → const VehicleType
Share taxi is a sort of bus transport with ability to drop off and pick up passengers anywhere on its route. Generally share taxi uses minibus vehicles.
subway → const VehicleType
Underground light rail.
tram → const VehicleType
Above ground light rail.
trolleybus → const VehicleType
Trolleybus.