isSmallestUnit property

bool get isSmallestUnit

States whether the difference unit is second.

Implementation

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