hours property

Duration get hours

This number in hours.

Implementation

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