VehicleProfileRestriction class

Physical and cargo profile of a vehicle that triggers a regulation.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

Constructors

VehicleProfileRestriction(IntegerRange requiredWeightInKilograms, IntegerRange requiredGrossWeightInKilograms, IntegerRange requiredAmountOfTrailers)

Properties

hashCode → int
The hash code for this object.
no setter
hazardousMaterialRestriction ↔ HazardousMaterialRestriction?
Restriction on transport of hazardous materials and max allowed tunnel category.
getter/setter pair
requestedVehicleType ↔ VehicleTypeCondition?
Vehicle type to which this restriction applies.
getter/setter pair
requiredAmountOfTrailers ↔ IntegerRange
Trailer count limits.
getter/setter pair
requiredGrossWeightInKilograms ↔ IntegerRange
Gross weight limits in kilograms.
getter/setter pair
requiredWeightInKilograms ↔ IntegerRange
Weight limits in kilograms.
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.