futureDates method

List<DateTime> futureDates([
  1. int weeks = 1
])

Returns the dates of this weekday starting from DateTime.now() until weeks weeks in the future.

Implementation

List<DateTime> futureDates([int weeks = 1]) {
  return getDates(DateTime.now(), DateTime.now().add(Duration(days: 7 * weeks)));
}