subtractHours method

Time subtractHours(
  1. int hours
)

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

Implementation

Time subtractHours(int hours) =>
    Time(_dateTime.subtract(Duration(hours: hours)));