w property Null safety

Duration w

Short-hand for weeks

Implementation

Duration get w {
  return Duration(days: (7 * this).toInt());
}