hoursDuration property

Duration hoursDuration

Creates a Duration object for hours.

Example:

print(1.hoursDuration); // Output: 1:00:00.000000

Implementation

Duration get hoursDuration => Duration(hours: toInt());