months property

Duration months

months

Returns a Duration with the given number of months.

Implementation

Duration get months => Duration(days: toInt() * 30);