MonthAndYear.fromDateTime constructor
MonthAndYear.fromDateTime(
- DateTime dateTime
Implementation
factory MonthAndYear.fromDateTime(DateTime dateTime) {
return MonthAndYear(
month: dateTime.month,
year: dateTime.year,
);
}