expiresAt property
int?
expiresAt
Implementation
int? get expiresAt {
try {
final payload = Jwt.parseJwt(accessToken);
return payload['exp'] as int;
} catch (_) {
return null;
}
}
int? get expiresAt {
try {
final payload = Jwt.parseJwt(accessToken);
return payload['exp'] as int;
} catch (_) {
return null;
}
}