endOfYesterday property

DateTime endOfYesterday

Return the end of yesterday. The result will be in the local timezone.

Implementation

static DateTime get endOfYesterday => DateTime.now().previousDay.endOfDay;