hours property

Duration get hours

Returns hours duration

5.hours

Implementation

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