addHours method

Time addHours(
  1. int hours
)

Returns a new Time instance with the specified number of hours added.

Implementation

Time addHours(int hours) => Time(_dateTime.add(Duration(hours: hours)));