endOfYesterday static method
End of yesterday in the local timezone
Implementation
static DateTime endOfYesterday() => DateTime.now().endOfLastDay();
End of yesterday in the local timezone
static DateTime endOfYesterday() => DateTime.now().endOfLastDay();