startOfMonth property

DateTime startOfMonth

Returns the first day of the month of this DateTime.

Implementation

DateTime get startOfMonth => DateTime(year, month);