GoogleSignInUserData constructor Null safety

GoogleSignInUserData(
  1. {required String email,
  2. required String id,
  3. String? displayName,
  4. String? photoUrl,
  5. String? idToken,
  6. String? serverAuthCode}
)

Uses the given data to construct an instance.

Implementation

GoogleSignInUserData({
  required this.email,
  required this.id,
  this.displayName,
  this.photoUrl,
  this.idToken,
  this.serverAuthCode,
});