isSmallestUnit property

bool get isSmallestUnit

States whether the TimeDifference'unit contains the smallest value available (second).

Implementation

bool get isSmallestUnit {
  return unit == LitTimeUnit.second;
}