curMonthAsInt top-level property Null safety

int curMonthAsInt

Returns current month as an int (January == 1 ... December == 12).

Implementation

int get curMonthAsInt {
  return DateTime.now().month;
}