hours property

Duration hours

Returns hours duration

5.hours

Implementation

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