validUnitMinute property

bool get validUnitMinute

Returns whether the difference can be converted into the time unit minute.

Implementation

bool get validUnitMinute =>
    differenceMsAbs < MS_PER_HOUR &&
    (differenceMsAbs / MS_PER_MINUTE).abs().round() != MIN_PER_HR;