vehicle property

Vehicle? vehicle
final

Contains the type of vehicle used on this line. This may include the following properties:

  • name contains the name of the vehicle on this line. eg. "Subway."
  • type contains the type of vehicle that runs on this line. See the VehicleType documentation for a complete list of supported values.
  • 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.

Implementation

final Vehicle? vehicle;