VehicleRestrictionCondition class
Combined set of conditions that must all be satisfied for a regulation to apply.
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
Properties
-
appliesDuring
↔ List<
TimeRule> -
Time rules during which this restriction is active.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- requiredRoadProfile ↔ RoadProfileCondition?
-
Road profile conditions that activate this restriction.
getter/setter pair
-
requiredVehicleProfile
↔ List<
VehicleProfileRestriction> -
Vehicle profile that is subject to this restriction.
getter/setter pair
- requiredWeatherCondition ↔ WeatherType?
-
Weather condition that must be present for this restriction to apply.
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.