month property
Duration
get
month
Converts this number to a Duration in months.
Fractional values are truncated with toInt().
Example: 2.month -> Duration(days: 60) for news cache TTL.
Implementation
Duration get month => Duration(days: toInt() * 30);