addHours method

DateTime addHours(
  1. int amount
)

Adds the specified number of hours to this DateTime.

Implementation

DateTime addHours(int amount) => add(Duration(hours: amount));