TrafficIncidentBase class abstract

TrafficIncident provides details about a traffic incident.

Implementers

Constructors

TrafficIncidentBase(TrafficIncidentImpact impactGetLambda(), TrafficIncidentType typeGetLambda(), LocalizedText descriptionGetLambda(), DateTime? startTimeGetLambda(), DateTime? endTimeGetLambda())
TrafficIncident provides details about a traffic incident.
factory

Properties

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 the TrafficEngine. Gets the human readable description of the incident, possibly with location information.
no setter
endTime → DateTime?
The time until which the incident is valid, after this time the incident should not be considered. The value is null if 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 setter
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 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 null if 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 setter
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 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

Operators

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