cDays property

Duration get cDays

Converts a numeric value to a Duration representing days.

Usage:

final daysDuration = 3.cDays;

Implementation

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