DriveRestRegulation class
Drive-rest regulation defining mandatory rest requirements for commercial vehicle drivers.
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
- dailyRestMinInMinutes ↔ Duration?
-
Minimum daily rest duration in minutes that must be taken.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- maxDailyDriveTimeInMinutes ↔ Duration?
-
Maximum continuous or accumulated daily driving time in minutes before a rest is required.
getter/setter pair
- midDriveRestInMinutes ↔ Duration?
-
Maximum driving time in minutes allowed before a mid-drive rest must be taken.
getter/setter pair
- midDriveRestMinInMinutes ↔ Duration?
-
Minimum duration in minutes of the required mid-drive rest.
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.