addDays method

DateTime addDays(
  1. int days
)

addDays(): Adds a specified number of days to a DateTime.

Implementation

DateTime addDays(int days) {
  return add(Duration(days: days));
}