previousMonthLastDay method

DateTime previousMonthLastDay()

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);
}