isPastDay method
Implementation
static bool isPastDay(DateTime date) {
var today = toMidnight(DateTime.now());
return date.isBefore(today);
}
static bool isPastDay(DateTime date) {
var today = toMidnight(DateTime.now());
return date.isBefore(today);
}