isYesterday property

bool get isYesterday

Implementation

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