findLastDateOfNextWeek static method
Find last date of next week using a date in current week.
dateTime
A date in current week.
Implementation
static DateTime findLastDateOfNextWeek(DateTime dateTime) {
final DateTime sameWeekDayOfNextWeek =
dateTime.add(const Duration(days: 7));
return findLastDateOfTheWeek(sameWeekDayOfNextWeek);
}