TimeRange.yesterday constructor

TimeRange.yesterday()

In the local timezone

Implementation

factory TimeRange.yesterday() =>
    DayTimeRange.fromDateTime(Moment.startOfYesterday());