VehicleSpecificAccess class
Access regulation for a specific vehicle type on a road segment.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
- VehicleSpecificAccess(bool isPermitBased, PhysicalStructure physicalStructure, VehicleRestrictionCondition condition)
Properties
- condition ↔ VehicleRestrictionCondition
-
Conditions under which this access regulation is active.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- isPermitBased ↔ bool
-
If true, access is only permitted with a special permit.
getter/setter pair
- noTruckInnermostLane ↔ int?
-
If true, trucks are prohibited from using the innermost lane.
getter/setter pair
- physicalStructure ↔ PhysicalStructure
-
Physical structure (e.g. bridge or tunnel) to which this access regulation applies.
getter/setter pair
- 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.