totalHours property

double get totalHours

Gets the total hours including all larger units.

Implementation

double get totalHours {
  final totalMs = inMilliseconds;
  return totalMs / (1000 * 60 * 60);
}