isPast property

bool get isPast

Returns true if the date range is in the past.

Implementation

bool get isPast => endDate.isBefore(now);