isPast property

bool get isPast

States whether the other date time is in the past.

Implementation

bool get isPast {
  return timeDifference.value > 0;
}