hours property

Duration get hours

Returns a Duration representing this integer in hours.

Implementation

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