hours property

Duration get hours

Returns a Duration with the given number of hours.

Implementation

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