isExpired property

bool isExpired

Returns true if this token is expired, otherwise false.

Implementation

bool get isExpired => DateTime.now().toUtc().isAfter(expiresAt);