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