Month.fromDateTime constructor
Month.fromDateTime(
- DateTime datetime
////////////////////////////////// FACTORIES Create Month from DateTime
Implementation
/// Create Month from DateTime
factory Month.fromDateTime(DateTime datetime) {
return Month(year: datetime.year, month: datetime.month);
}