hasExpired property

bool get hasExpired

Implementation

bool get hasExpired =>
    expiryDateTime == null ? false : DateTime.now().isAfter(expiryDateTime!);