inMonths property
int
get
inMonths
Only returns whole months. Here, a month equals daysPerMonth days
Implementation
int get inMonths => inDays ~/ daysPerMonth;
Only returns whole months. Here, a month equals daysPerMonth days
int get inMonths => inDays ~/ daysPerMonth;