isYesterDay property
bool
isYesterDay
Implementation
bool get isYesterDay =>
toYMD == DateTime.now().subtract(const Duration(days: 1)).toYMD;
bool get isYesterDay =>
toYMD == DateTime.now().subtract(const Duration(days: 1)).toYMD;