getBeforeWeek method

DateTime getBeforeWeek(
  1. int before
)

주 단위로 이전 날짜 가져오기

Implementation

DateTime getBeforeWeek(int before) {
  return subtract(Duration(days: before * 7));
}