isInHours property

bool get isInHours

Returns true if the Duration is equal to or longer than one hour but less than one day.

Implementation

bool get isInHours => inHours > 0 && !isInDays;