nMonthAgo static method

DateTime nMonthAgo(
  1. int n
)

Implementation

static DateTime nMonthAgo(int n) => DateTime(now().year, now().month - n);