DangerZoneWarning constructor
- @Deprecated("Will be removed in v4.29.0. Use the constructor without deprecated fields instead.")
- int id,
- bool isZoneStart,
- double distanceInMeters,
- DistanceType distanceType,
Creates a new instance.
idUnique identifier for this specific danger 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.isZoneStartA flag indicating whether the Danger Zone officially start in the location the user is entering it.distanceInMetersThe distance from the current location to the Danger zone.distanceTypeIndicates if the specified zone is ahead of the vehicle or has just passed by. If it is ahead, then DangerZoneWarning.distanceInMeters is greater than 0.
Implementation
@Deprecated("Will be removed in v4.29.0. Use the constructor without deprecated fields instead.")
DangerZoneWarning(this.id, this.isZoneStart, this.distanceInMeters, this.distanceType);