firstDay property

DateTime firstDay

Get first day of YearMonth and convert back to YearMonth

Implementation

DateTime get firstDay => DateTime(year, month, 1);