isSmallestUnit property

bool isSmallestUnit

States whether the difference unit is second.

Implementation

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