BadRoadConditions

Represents a hazard due to bad road conditions.

Parameters

causes

The causes of the bad road conditions. It can not be empty.


constructor(hasPotholes: Boolean)

Deprecated

This will be removed from future releases after 2026-07-26.

Replace with

The new constructor BadRoadConditions(causes: Set<Cause>)