isYesterday property
bool
isYesterday
Checks whether the date is yesterday
Implementation
bool get isYesterday => isSameDay(DateTime.now().previousDay);
Checks whether the date is yesterday
bool get isYesterday => isSameDay(DateTime.now().previousDay);