previousDays method

DateTime previousDays(
  1. int days
)

Implementation

DateTime previousDays(int days) {
  return DateTime(year, month, day).subtract(Duration(days: days));
}