previous static method

DateTime previous(
  1. int days
)

Implementation

static DateTime previous(int days) {
  return DateTime.now().previousDays(days);
}