startOfMonth property

DateTime get startOfMonth

Returns a DateTime representing the start of the month for this DateTime.

Implementation

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