endOfYesterday static method

DateTime endOfYesterday()

End of yesterday in the local timezone

Implementation

static DateTime endOfYesterday() => DateTime.now().endOfLastDay();