isPastDay method

bool isPastDay (DateTime date)

Implementation

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