isThisMonth property

bool get isThisMonth

判断是否是本月

Implementation

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