isExpired property

bool get isExpired

Implementation

bool get isExpired => status.toLowerCase() == 'expired' || remainingDays <= 0;