logout method
Implementation
Future<void> logout() async {
await Future.delayed(const Duration(seconds: 1));
await SessionManager.clear();
state = AsyncValue.data(null);
}
Future<void> logout() async {
await Future.delayed(const Duration(seconds: 1));
await SessionManager.clear();
state = AsyncValue.data(null);
}