TrafficIncidentsQueryOptions class
The options to specify how incidents should be queried.
Constructors
- TrafficIncidentsQueryOptions()
- Creates a new instance with default values.
Properties
- earliestStartTime ↔ DateTime?
-
The earliest start time of incidents to be queried.
If the value is null filtering by the earliest start time is not applied.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
-
impactFilter
↔ List<
TrafficIncidentImpact> -
The list of incident impacts to be queried. If the list is empty, all incident impacts will be queried.
getter/setter pair
- languageCode ↔ LanguageCode?
-
The language code of the query.
It's the expected language of fields TrafficIncidentBase.description and TrafficIncident.summary in the relevant response.
However, the language code doesn't impact on TrafficLocation.description.
If the language code is null or not supported then response fields are expected in the original language of the country that the incident belongs to.
getter/setter pair
- latestEndTime ↔ DateTime?
-
The latest end time of incidents to be queried.
If the value is null filtering by the latest end time is not applied.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
typeFilter
↔ List<
TrafficIncidentType> -
The list of incident types to be queried. If the list is empty, all types will be queried.
getter/setter pair
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.