yesterday property

  1. @useResult
LocalDate get yesterday

The previous day.

Implementation

@useResult LocalDate get yesterday => minus(days: 1);