EnvironmentalZoneWarning class
Represents Environmental zones.
Constructors
- EnvironmentalZoneWarning(double distanceInMeters, DistanceType distanceType, String zoneId, String name)
Properties
- description ↔ LocalizedTexts
-
Indicates the description of the environmental zone in the available languages.
getter/setter pair
- distanceInMeters ↔ double
-
The distance from the current location to the environmental zone.
getter/setter pair
- distanceType ↔ DistanceType
-
Indicates if the specified zone is ahead of the vehicle or has just passed by. If it is
ahead, then EnvironmentalZoneWarning.distanceInMeters is greater than 0.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- id ↔ int
-
Unique identifier for this specific environmental zone warning instance.
Each warning type (truck restrictions, speed warnings, etc.) maintains its own independent ID namespace.
Use this ID to track, update, or dismiss individual warning instances of this type.
getter/setter pair
- name ↔ String
-
Indicates the official name of the environmental zone.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- websiteUrl ↔ String?
-
Indicates the website of the environmental zone, if available.
getter/setter pair
- zoneId ↔ String
-
Indicates the environmental zone id in the map data.
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.