isFirstDayOfMonth property

bool get isFirstDayOfMonth

Checks if the date is the first day of the month.

Example usage:

final date = DateTime(2020, 1, 1);
print(date.isFirstDayOfMonth); // true

Implementation

bool get isFirstDayOfMonth => isSameDay(firstDayOfMonth);