AuthDataService constructor

AuthDataService(
  1. FirebaseAuth _auth,
  2. FirebaseFunctions _functions, [
  3. GoogleSignIn? googleSignIn
])

Constructor for AuthDataService.

Implementation

AuthDataService(
  this._auth,
  this._functions, [
  GoogleSignIn? googleSignIn,
]) : _googleSignIn = googleSignIn ??
          GoogleSignIn(
            scopes: ['email', 'profile'],
            signInOption: SignInOption.standard,
            clientId: kIsWeb
                ? const String.fromEnvironment('GOOGLE_WEB_CLIENT_ID')
                : null,
          );