PTStopInfo class Maps & 3D Scenes

Aggregated public transport data for a selected overlay item.

Instances are produced by OverlayItem.getPTStopInfo and contain the agencies, stops and trips associated with the selected public transport overlay item. Use the filtering helpers to query trips by short name, type or agency.

Examples

PTStopInfo? ptStopInfo = await overlayItem.getPTStopInfo();

Properties

agencies List<PTAgency>
Agencies serving the selected PT overlay item.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<PTStop>
Stops associated with the selected PT overlay item.
no setter
trips List<PTTrip>
Trips associated with the selected PT overlay item.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
tripsByAgency(PTAgency agency) List<PTTrip>
Filter trips by agency.
tripsByRouteShortName(String routeShortName) List<PTTrip>
Filter trips by route short name.
tripsByRouteType(PTRouteType routeType) List<PTTrip>
Filter trips by PTRouteType.

Operators

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