lastSunday method

DateTime lastSunday()

Returns new DateTime instance of nearest Sunday in the past

If this is Sunday, will return 7 days in the past

Implementation

DateTime lastSunday() => lastWeekday(DateTime.sunday);