hours property

Duration hours

Converts the number into a Duration in hours

Implementation

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