VehicleRestriction constructor
- SpecificRestriction? restriction
Creates an unconditional restriction.
restrictionASpecificRestrictiondefines 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;