getCurrentUser method
GoogleSignInAccount
getCurrentUser()
Devolver la info del usuario de google.(email, nombre, núm , foto, ...)
Implementation
GoogleSignInAccount getCurrentUser() {
log(TAG + ", getCurrentUser()...");
try {
_currentUser = googleSignIn!.currentUser!;
log(TAG + ", currentUser-displayName= " + _currentUser.displayName!);
} catch (error) {
throw Exception(error);
}
return _currentUser;
}