hours property

Duration get hours

Returns a Duration representing this number in hours.

Implementation

Duration get hours => Duration(microseconds: (this * 1000 * 1000 * 60 * 60).toInt());