flutter gex log code example
Example: After logging in flutter
void getCurrentUser() async {
try {
final user = await _auth.currentUser();
if (user != null) {
loggedUser = user;
}
} catch (e) {
print(e);
}
}