hours property

Duration get hours

This getter converts given num to Duration in hours

Implementation

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