isSmallestUnit property

bool get isSmallestUnit

States whether the difference unit is second.

Implementation

bool get isSmallestUnit => timeDifference.unit == LitTimeUnit.second;