isYesterday property
bool
get
isYesterday
Is this date yesterday?
Implementation
bool get isYesterday =>
isSameDate(DateTime.now().subtract(const Duration(days: 1)));
Is this date yesterday?
bool get isYesterday =>
isSameDate(DateTime.now().subtract(const Duration(days: 1)));