UserRepository constructor

UserRepository({
  1. FirebaseAuth? firebaseAuth,
  2. GoogleSignIn? googleSignin,
})

Implementation

UserRepository({FirebaseAuth? firebaseAuth, GoogleSignIn? googleSignin})
    : _firebaseAuth = firebaseAuth ?? FirebaseAuth.instance,
      _googleSignIn = googleSignin ??
          GoogleSignIn(scopes: <String>[
            'email',
            'profile'
          ]);