isYesterday property
bool
get
isYesterday
Checks if the current date is yesterday
Implementation
bool get isYesterday => isSameDate(DateTime.now().subtract(Duration(days: 1)));
Checks if the current date is yesterday
bool get isYesterday => isSameDate(DateTime.now().subtract(Duration(days: 1)));