addDays method

Date addDays(
  1. int days
)

Returns a new Date with given amount of days added to this. days can be negative, in this case subtraction will happen.

Implementation

Date addDays(final int days) => _date.add(Duration(days: days)).toDate();