isHourMode property

bool get isHourMode

Indicates if the duration represents hours.

Implementation

bool get isHourMode => hours > 0;