VehicleProfileRestriction class
Physical and cargo profile of a vehicle that triggers a regulation.
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
- VehicleProfileRestriction(IntegerRange requiredWeightInKilograms, IntegerRange requiredGrossWeightInKilograms, IntegerRange requiredAmountOfTrailers, HazardousMaterialType hazardousMaterial)
Properties
- hashCode → int
-
The hash code for this object.
no setter
- hazardousMaterial ↔ HazardousMaterialType
-
Hazardous material condition associated with this profile.
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.