isYesterDay property

bool get isYesterDay

Implementation

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