weeks property Null safety

Duration weeks

Return current int in Duration of weeks (7 days/ week)

Implementation

Duration get weeks {
  return Duration(days: 7 * this);
}