logOut method
dynamic
logOut()
Implementation
logOut() async {
_authenticated = false;
AuthRepository().setApiKey('');
AuthRepository().setLoggedInUser('');
navigatorKey.currentState?.pushReplacementNamed('/login');
notifyListeners();
return;
}