HazardousMaterialRestriction class
Represents restriction on transport of hazardous materials.
A generic restriction, applying to any hazardous material, is encoded with empty member variables.
Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.
Constructors
- HazardousMaterialRestriction(HazardousMaterial? hazardousMaterial)
- Creates hazardous material restriction for specified material.
- HazardousMaterialRestriction.tunnelCategory(TunnelCategory? tunnelCategory)
- Creates hazardous material restriction for specified tunnel category.
Properties
- hashCode → int
-
The hash code for this object.
no setter
- hazardousMaterial ↔ HazardousMaterial?
-
Restricted hazardous material.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tunnelCategory ↔ TunnelCategory?
-
Tunnel category to restrict transport of specific goods.
getter/setter pair
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.