hoursLater function

DateTime hoursLater(
  1. DateTime date,
  2. num h
)

Implementation

DateTime hoursLater(DateTime date, num h) {
  var ms = h * 60 * 60 * 1000;
  return date.add(Duration(milliseconds: ms.toInt()));
}