VehicleRestriction constructor

VehicleRestriction(
  1. SpecificRestriction? restriction
)

Creates an unconditional restriction.

  • restriction A SpecificRestriction defines what type of restriction applies (weight, height, etc.) and the range of allowed values.

Implementation

VehicleRestriction(this.restriction)
    : hazmatRestriction = null, timeRestriction = null, weather = null, truckCategory = null, trailerCount = null, axleCount = null, axleCountInGroup = null;