validUnitMinute property

bool 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;