hours property

Duration hours

This number in hours.

Implementation

Duration get hours =>
    Duration(minutes: (this * Duration.minutesPerHour).round());