isInThisMonth property
bool
isInThisMonth
- return
true
if the date is In This Month,false
otherwise.
Implementation
bool get isInThisMonth {
final now = DateTime.now();
return now.year == year && now.month == month;
}