DurationConst.week constructor

DurationConst.week(
  1. int value
)

Implementation

DurationConst.week(int value) : duration = Duration(days: value * 7);