isValid property
bool
get
isValid
Checks if the token is valid (not expired and has required fields)
Implementation
bool get isValid {
return accessToken.isNotEmpty &&
refreshToken.isNotEmpty &&
!isExpired;
}