DangerZoneWarning constructor
- bool isZoneStart,
- double distanceInMeters,
- DistanceType distanceType
Creates a new instance.
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
DangerZoneWarning(this.isZoneStart, this.distanceInMeters, this.distanceType);