isYesterday property

bool isYesterday

Implementation

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