hours property

Duration get hours

Converts the double value to a Duration in hours.

Implementation

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