isExpired property

bool get isExpired

Implementation

bool get isExpired =>
    DateTime.now().difference(time).inSeconds > expirationSeconds;