DirectionsTransitVehicle class abstract

DirectionsTransitVehicle

Properties:

  • name - The name of this vehicle, capitalized.
  • type - The type of vehicle used. * BUS - Bus. * CABLE_CAR - A vehicle that operates on a cable, usually on the ground. Aerial cable cars may be of the type GONDOLA_LIFT. * COMMUTER_TRAIN - Commuter rail. * FERRY - Ferry. * FUNICULAR - A vehicle that is pulled up a steep incline by a cable. A Funicular typically consists of two cars, with each car acting as a counterweight for the other. * GONDOLA_LIFT - An aerial cable car. * HEAVY_RAIL - Heavy rail. * HIGH_SPEED_TRAIN - High speed train. * INTERCITY_BUS - Intercity bus. * LONG_DISTANCE_TRAIN - Long distance train. * METRO_RAIL - Light rail transit. * MONORAIL - Monorail. * OTHER - All other vehicles will return this type. * RAIL - Rail. * SHARE_TAXI - Share taxi is a kind of bus with the ability to drop off and pick up passengers anywhere on its route. * SUBWAY - Underground light rail. * TRAM - Above ground light rail. * TROLLEYBUS - Trolleybus.
  • icon - Contains the URL for an icon associated with this vehicle type.
  • localIcon - Contains the URL for the icon associated with this vehicle type, based on the local transport signage.

Constructors

DirectionsTransitVehicle([void updates(DirectionsTransitVehicleBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String?
Contains the URL for an icon associated with this vehicle type.
no setter
localIcon String?
Contains the URL for the icon associated with this vehicle type, based on the local transport signage.
no setter
name String
The name of this vehicle, capitalized.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type DirectionsTransitVehicleTypeEnum
The type of vehicle used. * BUS - Bus. * CABLE_CAR - A vehicle that operates on a cable, usually on the ground. Aerial cable cars may be of the type GONDOLA_LIFT. * COMMUTER_TRAIN - Commuter rail. * FERRY - Ferry. * FUNICULAR - A vehicle that is pulled up a steep incline by a cable. A Funicular typically consists of two cars, with each car acting as a counterweight for the other. * GONDOLA_LIFT - An aerial cable car. * HEAVY_RAIL - Heavy rail. * HIGH_SPEED_TRAIN - High speed train. * INTERCITY_BUS - Intercity bus. * LONG_DISTANCE_TRAIN - Long distance train. * METRO_RAIL - Light rail transit. * MONORAIL - Monorail. * OTHER - All other vehicles will return this type. * RAIL - Rail. * SHARE_TAXI - Share taxi is a kind of bus with the ability to drop off and pick up passengers anywhere on its route. * SUBWAY - Underground light rail. * TRAM - Above ground light rail. * TROLLEYBUS - Trolleybus.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(DirectionsTransitVehicleBuilder)) DirectionsTransitVehicle
Rebuilds the instance.
inherited
toBuilder() DirectionsTransitVehicleBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<DirectionsTransitVehicle>
no setter