isExpired property

bool get isExpired

Implementation

bool get isExpired {
  final expirationDateValue = expirationDate;
  return expirationDateValue != null
      ? DateTime.now().isAfter(expirationDateValue)
      : false;
}