YearMonth.now constructor
YearMonth.now()
Get current year and month from DateTime.now
Implementation
factory YearMonth.now() => YearMonth.dateTime(DateTime.now());
Get current year and month from DateTime.now
factory YearMonth.now() => YearMonth.dateTime(DateTime.now());