isYesterday property

bool isYesterday

Implementation

bool get isYesterday =>
    isAtSameDayAs(DateTime.now().subtract(Duration(days: 1)));