alerts property

List<PTAlertInfo> get alerts

GTFS-RT service alerts associated with the selected PT overlay item.

Deduplicated list of all alerts referenced by PTTrip.alerts and PTStop.alerts; those lists share the same PTAlertInfo instances. Empty when no alerts apply. The order of the alerts is not meaningful.

Implementation

List<PTAlertInfo> get alerts => _alerts;