logoutAsync method
Implementation
Future<void> logoutAsync() async {
await _auth.signOut();
_accessToken = null;
_expiryDate = null;
_user = null;
_isLogout = true;
notifyListeners();
}
Future<void> logoutAsync() async {
await _auth.signOut();
_accessToken = null;
_expiryDate = null;
_user = null;
_isLogout = true;
notifyListeners();
}