isPastDay property
bool
get
isPastDay
Chech if this
is a day in the past (before today)
Implementation
bool get isPastDay => isBefore(DateTime.now().getDateOnly());
Chech if this
is a day in the past (before today)
bool get isPastDay => isBefore(DateTime.now().getDateOnly());