VehicleSpecificSpeedLimit class

Speed limit regulation specific to a vehicle type.

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

VehicleSpecificSpeedLimit(double speedLimitInMetersPerSecond, bool isAdvisory, VehicleRestrictionCondition condition)

Properties

builtUpAreaMaxOverrideSpeedInMetersPerSecond ↔ double?
Max Override Speed indicates the maximum speed a commercial vehicle may travel within a BUA. Could be 0 if unlimited. A null value means the speed limit is not affected by the BUA override or not present.
getter/setter pair
condition VehicleRestrictionCondition
Conditions under which this speed limit is active.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
isAdvisory ↔ bool
If true, this speed limit is advisory rather than legally enforced.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speedLimitInMetersPerSecond ↔ double
Maximum permitted speed in meters per second.
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.