isCurrentDay property
bool
get
isCurrentDay
Checks if the number (assumed to represent a day, 1-based) corresponds to the current day of the month.
Example:
15.isCurrentDay; // Returns true if today is the 15th of the month
Implementation
bool get isCurrentDay {
final now = DateTime.now();
return toInt() == now.day;
}