cHours property
Duration
get
cHours
Converts a numeric value to a Duration
representing hours.
Usage:
final hoursDuration = 2.cHours;
Implementation
Duration get cHours => Duration(
minutes: (this * Duration.minutesPerHour).round(),
);