isHourMode property

bool isHourMode

Indicates if the duration represents hours.

Implementation

bool get isHourMode => hours > 0;