addDays method

DateTime addDays(
  1. int daysToAdd
)

Implementation

DateTime addDays(int daysToAdd) {
  return DateTime(
    this.year,
    this.month,
    this.day + daysToAdd,
    this.hour,
    this.minute,
    this.second,
    this.millisecond,
    this.microsecond,
  );
}