firstDayOfMonth property
Returns the first day of the month for the given date.
Implementation
date get firstDayOfMonth => DateTime(year, month, 1);
Returns the first day of the month for the given date.
date get firstDayOfMonth => DateTime(year, month, 1);