getDaysInMonth property

int getDaysInMonth

Days since month started. The result will be in the local timezone.

Implementation

int get getDaysInMonth => endOfMonth.diff(startOfMonth).inDays + 1;