empty constant

AuthTokenModel const empty

A sentinel value representing the absence of valid tokens.

All string fields are empty and expiration times are zero. Use isEmpty rather than comparing directly to this constant.

Implementation

static const AuthTokenModel empty = AuthTokenModel(accessToken: '', refreshToken: '', tokenType: '', expiresIn: 0, refreshExpiresIn: 0);