logout method

void logout()

Logs out the current user.

Clears the stored tokens and the cached user data.

Implementation

void logout() {
  CoffeeStorage.clearAll();
  CoffeeStorage.clearAllCache().then((value) => null);
  GoogleSignIn().signOut().then((value) => null);
  currentUser = null;
}