M property Null safety

Duration M

Short-hand for months

Implementation

Duration get M {
  final days = (this * 30).toInt();
  return Duration(days: days);
}