hours property Null safety

Duration hours

Implementation

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