days property

Duration get days

Converts the integer to a Duration representing the given number of days.

Example:

final duration = 3.days;

Implementation

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