isIncludeToday static method

bool isIncludeToday(
  1. int year,
  2. int month
)

Implementation

static bool isIncludeToday(int year, int month) {
  DateTime now = DateTime.now();
  if (now.year == year && now.month == month) {
    return true;
  }
  return false;
}