ViolatedRestrictionDetails class - routing library - Dart API
ViolatedRestrictionDetails
ViolatedRestrictionDetails class
Optional restriction details, contains additional information depending on the specific violation, zero or more member might be set.
For example, if the vehicle violates the maximum allowed height during the trip, then the member max_height_in_centimeters will
be set with the maximum allowed height value.
Constructors
Properties
- forbiddenAxleCount ↔ IntegerRange?
-
The restriction to trucks with axles number within specified range during the trip.
This property will be set if the TruckSpecifications.axleCount
is within this range.
getter/setter pair
-
forbiddenHazardousGoods
↔ List<
HazardousMaterial> -
There are two lists for our trip: Hazardous goods restrictions applied during the trip, and the list used
for the route calculation provided using TruckOptions.hazardousMaterials. This property is
the intersection of the two lists.
getter/setter pair
- forbiddenTrailerCount ↔ IntegerRange?
-
Constrains the restriction to trucks with number of trailer within specified range during the trip.
This property will be set if the TruckSpecifications.trailerCount
is within this range.
getter/setter pair
- forbiddenTruckCategory ↔ TruckCategory?
-
This property will be set if a restriction applies to the value of TruckCategory
parameter used for route calculation.
getter/setter pair
-
forbiddenTruckRoadTypes
↔ List<
TruckRoadType> -
Contains violated restrictions for truck road types.
getter/setter pair
- forbiddenTruckType ↔ TruckType?
-
This property will be set if a restriction applies to the value of TruckType
parameter used for route calculation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- maxHeightInCentimeters ↔ int?
-
Max permitted height during the trip, in centimeters.
This property will be set if the TruckSpecifications.heightInCentimeters
exceeds this value.
getter/setter pair
- maxLengthInCentimeters ↔ int?
-
Max permitted length during the trip, in centimeters.
This property will be set if the TruckSpecifications.lengthInCentimeters
exceeds this value.
getter/setter pair
- maxNumberOfTires ↔ int?
-
Contains the maximum permitted number of tires.
This property will be set if the VehicleSpecification.tiresCount exceeds the specified value.
getter/setter pair
- maxPayloadCapacityInKilograms ↔ int?
-
Max permitted payload capacity during the trip, in kilograms.
This property will be set if the TruckSpecifications.payloadCapacityInKilograms
exceeds this value.
getter/setter pair
- maxTunnelCategory ↔ TunnelCategory?
-
Tunnel category to restrict transport of specific goods during the trip.
This property will be set if the TruckOptions.linkTunnelCategory exceeds this value.
getter/setter pair
- maxWeight ↔ VehicleRestrictionMaxWeight?
-
Max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.
This property will be set if the TruckSpecifications.grossWeightInKilograms
parameter used for route calculation exceeds this value.
getter/setter pair
- maxWeightPerAxleGroupInKilograms ↔ MaxAxleGroupWeight?
-
Max permitted weight per axle group during the trip, in kilograms.
This property will be set if the TruckSpecifications.weightPerAxleGroup
exceeds this value.
getter/setter pair
- maxWeightPerAxleInKilograms ↔ int?
-
Max permitted weight per axle during the trip, in kilograms.
This property will be set if the TruckSpecifications.weightPerAxleInKilograms
exceeds this value.
getter/setter pair
- maxWidthInCentimeters ↔ int?
-
Max permitted width during the trip, in centimeters.
This property will be set if the TruckSpecifications.widthInCentimeters
exceeds this value.
getter/setter pair
- routingZoneReference ↔ String?
-
Contains the restricted routing zone reference
This property will be set if the AvoidanceOptions.zoneCategories is not empty
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeRule ↔ TimeRule?
-
Time intervals during which restrictions are enforced.
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.