logout static method
Implementation
static Future<void> logout() async {
await remove('user_id');
await remove('user_data');
// Also revoke the locally-held bearer token.
final tk = _tokenKeyOrNull();
if (tk != null) await remove(tk);
}
static Future<void> logout() async {
await remove('user_id');
await remove('user_data');
// Also revoke the locally-held bearer token.
final tk = _tokenKeyOrNull();
if (tk != null) await remove(tk);
}