PTAlertEffect enum Maps & 3D Scenes
Effect of a PTAlertInfo (GTFS-RT Effect enum).
Values outside the GTFS-RT enum are mapped to unknownEffect.
Also see:
- PTAlertInfo.effect — The effect for a specific alert.
Values
- noService → const PTAlertEffect
-
No service.
Overlaps with PTTrip.isCancelled — the trip flag remains the authoritative cancellation indicator; the alert supplies the user-facing reason.
- reducedService → const PTAlertEffect
-
Reduced service.
- significantDelays → const PTAlertEffect
-
Significant delays.
- detour → const PTAlertEffect
-
Detour.
- additionalService → const PTAlertEffect
-
Additional service.
- modifiedService → const PTAlertEffect
-
Modified service.
- otherEffect → const PTAlertEffect
-
Other effect not represented by any other value.
- unknownEffect → const PTAlertEffect
-
Unknown effect.
- stopMoved → const PTAlertEffect
-
Stop moved.
- noEffect → const PTAlertEffect
-
No effect.
- accessibilityIssue → const PTAlertEffect
-
Accessibility issue.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
PTAlertEffect> - A constant List of the values in this enum, in order of their declaration.