hours property

num? get hours

Implementation

num? get hours =>
    isDuration && isHours(unit) ? num.parse(value.asUcumDecimal()) : null;