isExpired property
bool
get
isExpired
Checks if the token is expired or close to expiring.
Implementation
bool get isExpired =>
DateTime.now().isAfter(expiresIn.subtract(const Duration(minutes: 5)));