yesterday top-level property
DateTime
get
yesterday
Returns yesterday's date without time information.
Implementation
DateTime get yesterday => DateTime.now().previousDay.dateOnly;
Returns yesterday's date without time information.
DateTime get yesterday => DateTime.now().previousDay.dateOnly;