isAfter method

bool isAfter(
  1. Date other
)

Implementation

bool isAfter(Date other) {
  DateTime dateTime = DateTime(year, month, day);
  return dateTime.isAfter(DateTime(other.year, other.month, other.day));
}