days property

Duration get days

Returns a Duration representing this double value in days.

Implementation

Duration get days => Duration(hours: (this * Duration.hoursPerDay).round());