logout method
Implementation
Future<void> logout() async {
_token = null;
_profile = null;
GlobalVars.token = null;
_prefs.clear();
notifyListeners();
}
Future<void> logout() async {
_token = null;
_profile = null;
GlobalVars.token = null;
_prefs.clear();
notifyListeners();
}