secondsToHours property

num secondsToHours

Transform number of seconds into hours

Implementation

num get secondsToHours {
  // 3600 seconds = 1 hour
  if (isNullOrZero) {
    return -1;
  } else {
    return this / Duration.secondsPerHour;
  }
}