addDays method

DateTime addDays(
  1. int amount
)

Add a certain amount of days to this date

Implementation

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