isExpired property Null safety
Whether or not this token is expired by evaluated expirationDate.
Implementation
bool get isExpired {
return expirationDate!.difference(DateTime.now().toUtc()).inSeconds <= 0;
}
Whether or not this token is expired by evaluated expirationDate.
bool get isExpired {
return expirationDate!.difference(DateTime.now().toUtc()).inSeconds <= 0;
}