IGoogleSignInAccount constructor
IGoogleSignInAccount(
- IGoogleSignInUserData data, {
- IGoogleSignInAccount? currentUser,
- required Future<
IGoogleSignInTokenData> getTokens({}), - required Future<
void> onClearAuthCache({- required String token,
- required Future<
IGoogleSignInAuthentication> authentication, - required Future<
Map< authHeaders,String, String> >
Implementation
IGoogleSignInAccount(
IGoogleSignInUserData data, {
this.currentUser,
required this.getTokens,
required this.onClearAuthCache,
required this.authentication,
required this.authHeaders,
}) : displayName = data.displayName,
email = data.email,
id = data.id,
photoUrl = data.photoUrl,
serverAuthCode = data.serverAuthCode;