addDays method

DateTime addDays(
  1. int amount
)

Adds a certain number of days to this date.

Implementation

DateTime addDays(int amount) => DateTime(
  year,
  month,
  day + amount,
  hour,
  minute,
  second,
  millisecond,
  microsecond,
);