yesterday property

DateTime get yesterday

Yesterday at the same time of day.

Implementation

DateTime get yesterday => subtract(const Duration(days: 1));