isYesterday property
bool
get
isYesterday
Implementation
bool get isYesterday {
return isDay(DateTime.now().subtract(const Duration(days: 1)));
}
bool get isYesterday {
return isDay(DateTime.now().subtract(const Duration(days: 1)));
}