previousMonthLastDay method
Implementation
DateTime previousMonthLastDay() {
final now = DateTime.now();
return DateTime(now.year, now.month - 1,
DateTime(now.year, now.month, 0).day, 23, 59, 59, 99, 999);
}
DateTime previousMonthLastDay() {
final now = DateTime.now();
return DateTime(now.year, now.month - 1,
DateTime(now.year, now.month, 0).day, 23, 59, 59, 99, 999);
}