PickTrafficIncidentResult class abstract
Carries the result of picking a Carto traffic incident object.
Description of incident is currently not present in our map data, so TrafficIncidentBase.description always returns an empty string.
- Implemented types
Constructors
Properties
- coordinates → GeoCoordinates
-
The geographic coordinates of the traffic incident.
Gets the geographic coordinates of the traffic incident.
no setter
- description → LocalizedText
-
The human readable description of the incident, possibly with location information.
The description is currently not present in our map data. Therefore, when
accessing the data from a picked carto POI via
TrafficIncidentResult, then always an empty string is returned. This does not apply when using theTrafficEngine. Gets the human readable description of the incident, possibly with location information.no setterinherited - endTime → DateTime?
-
The time until which the incident is valid, after this time the incident should not be considered.
The value is
nullif it hasn't been provided by the traffic incidents supplier. Get the time until which the incident is valid, after this time the incident should not be considered.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- impact → TrafficIncidentImpact
-
The impact of the incident.
The value is TrafficIncidentImpact.unknown if it hasn't been provided by the traffic incidents supplier.
Gets the impact of the incident.
no setterinherited
- originalId → String
-
Unique traffic event ID.
Can be referenced when checking for updated traffic information
for the specified event.
Gets the unique traffic event ID.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime?
-
The time from which the incident is valid, before this time the incident should not be considered.
The value is
nullif it hasn't been provided by the traffic incidents supplier. Gets the time from which the incident is valid, before this time the incident should not be considered.no setterinherited - type → TrafficIncidentType
-
The category of the incident.
The value is TrafficIncidentType.unknown if it hasn't been provided by the traffic incidents supplier.
Gets the category of the incident.
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