isCurrentMonthAndYear property

bool get isCurrentMonthAndYear

Implementation

bool get isCurrentMonthAndYear {
  final now = DateTime.now();
  return month == now.month && year == now.year;
}