startOfYesterday static method
Start of yesterday in the local timezone
Implementation
static DateTime startOfYesterday() => DateTime.now().startOfLastDay();
Start of yesterday in the local timezone
static DateTime startOfYesterday() => DateTime.now().startOfLastDay();