lastMonthDay property
DateTime
get
lastMonthDay
Implementation
static DateTime get lastMonthDay =>
now.month < 12 ? DateTime(now.year, now.month + 1, 0) : DateTime(now.year + 1, 1, 0);
static DateTime get lastMonthDay =>
now.month < 12 ? DateTime(now.year, now.month + 1, 0) : DateTime(now.year + 1, 1, 0);