SpeedLimitOffset class
A class that represents two separate speed limit offsets for higher and lower speed limits.
A driver will be notified when the current driving speed is above the speed limit + offset. Only one of the two offsets is used depending on the current speed limit.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setter
- highSpeedBoundaryInMetersPerSecond ↔ double
-
The boundary that defines higher and lower speed limits.
getter/setter pair
- highSpeedOffsetInMetersPerSecond ↔ double
-
A speed limit offset for speed limits above the SpeedLimitOffset.highSpeedBoundaryInMetersPerSecond.
getter/setter pair
- lowSpeedOffsetInMetersPerSecond ↔ double
-
A speed limit offset for speed limits below the SpeedLimitOffset.highSpeedBoundaryInMetersPerSecond.
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.