days property

Duration get days

Converts the double value to a Duration in days.

Implementation

Duration get days => Duration(days: toInt());