PTCrowdingInfo class Maps & 3D Scenes

Live vehicle crowding data derived from GTFS-RT vehicle positions.

Appears in two places:

WARNING: Every field is optional, always — feeds and older realtime producers supply arbitrary subsets, so any combination of fields may be null.

Also see:

Constructors

PTCrowdingInfo({int? vehicles, PTCongestionLevel? congestionLevel, PTOccupancyStatus? occupancyStatus, int? occupancyPercentage})
Create a PTCrowdingInfo.

Properties

congestionLevel PTCongestionLevel?
Congestion level of the traffic the vehicle(s) travel in (may be null).
final
hashCode int
The hash code for this object.
no setterinherited
occupancyPercentage int?
Occupancy as a percentage of the vehicle capacity (may be null).
final
occupancyStatus PTOccupancyStatus?
Occupancy status of the vehicle(s) (may be null).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vehicles int?
Number of fresh vehicle positions on the route.
final

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