isYesterday property

bool isYesterday

Check if this date is in the same day than Date.today

Implementation

bool get isYesterday => isSameDay(Date.yesterday());