TrafficIncidentRestrictedVehicleCategory enum - traffic library - Dart API
TrafficIncidentRestrictedVehicleCategory enum
The vehicle categories that can be restricted.
Note, a vehicle can belong to several categories (e.g. a passenger motor car belongs to TrafficIncidentRestrictedVehicleCategory.car, TrafficIncidentRestrictedVehicleCategory.motorVehicle, and TrafficIncidentRestrictedVehicleCategory.all). A vehicle is restricted if it belongs to the category presented in the map TrafficIncident.vehicleRestrictions and at least one of the vehicle properties is under the matching TrafficIncidentVehicleRestriction.
Values
- bus → const TrafficIncidentRestrictedVehicleCategory
-
Bus.
- car → const TrafficIncidentRestrictedVehicleCategory
-
Car.
- heavyGoodsVehicle → const TrafficIncidentRestrictedVehicleCategory
-
Heavy goods vehicle (or large goods vehicle). In the European Union heavy goods vehicle is any truck with a gross combination mass (GCM) of over 3,500 kg.
- truck → const TrafficIncidentRestrictedVehicleCategory
-
Truck.
- motorcycle → const TrafficIncidentRestrictedVehicleCategory
-
Motorcycle.
- motorVehicle → const TrafficIncidentRestrictedVehicleCategory
-
Motor vehicle. Definition: it is a self-propelled vehicle, that does not operate on rails and is used for the transportation of people or cargo.
- taxi → const TrafficIncidentRestrictedVehicleCategory
-
Taxi.
- train → const TrafficIncidentRestrictedVehicleCategory
-
Train.
- transportingAbnormalSizeLoad → const TrafficIncidentRestrictedVehicleCategory
-
Transporting an abnormal size load. See rules of the exact country that describe the exact parameters.
- transportingHazardousGoods → const TrafficIncidentRestrictedVehicleCategory
-
Transporting hazardous goods.
- vehicleWithTrailer → const TrafficIncidentRestrictedVehicleCategory
-
Vehicle with trailer.
- other → const TrafficIncidentRestrictedVehicleCategory
-
Other vehicles.
- all → const TrafficIncidentRestrictedVehicleCategory
-
All the vehicles are applicable for this category.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Constants
-
values
→ const List<
TrafficIncidentRestrictedVehicleCategory> - A constant List of the values in this enum, in order of their declaration.