signInWithGoogle method

Future<void> signInWithGoogle()

Función que nos permite logar al usuario mediante la lógica de Google.

Implementation

Future<void> signInWithGoogle() async {
  log(TAG + ", signInWithGoogle() ...");
  try {

    await googleSignIn!.signIn();

  } catch (error) {
    throw Exception(error);
  }
}