LowSpeedZoneWarning class

A class that provides low speed zone.

The main field describing the low speed zone is LowSpeedZoneWarning.speed_limit_in_meters_per_second specifying the speed limit of the low speed zone. Use LowSpeedZoneWarningListener to get notifications about upcoming low speed zones.

Constructors

LowSpeedZoneWarning(double distanceToLowSpeedZoneInMeters, double speedLimitInMetersPerSecond, DistanceType distanceType, SegmentReference segmentReference)

Properties

distanceToLowSpeedZoneInMeters ↔ double
Distance to the low speed warning in meters.
getter/setter pair
distanceType DistanceType
The distance type for the warning, e.g. a warning for a new low speed zone ahead or a warning for passing a low speed zone.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
id ↔ int
Unique identifier for this specific low speed 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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segmentReference SegmentReference
The reference to the segment where the low speed zone is located. It can be used to identify the location.
getter/setter pair
speedLimitInMetersPerSecond ↔ double
Speed limit of the low speed zone.
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.