isPast property

bool get isPast

Returns whether the other date time is before the provided date time.

Implementation

bool get isPast => timeDifference.value > 0;