isThisMonth method
Returns true if the month is the same as a specific dateTime or the current time.
特定のdateTimeもしくは現在時間と同じ月の場合はtrueを返します。
Implementation
bool isThisMonth([DateTime? dateTime]) {
dateTime ??= Clock.now();
return year == dateTime.year && month == dateTime.month;
}