GoogleSignInUserData class Null safety

Holds information about the signed in user.


GoogleSignInUserData({required String email, required String id, String? displayName, String? photoUrl, String? idToken, String? serverAuthCode})
Uses the given data to construct an instance.


displayName String?
The display name of the signed in user. [...]
read / write
email String
The email address of the signed in user. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, override
id String
The unique ID for the Google account. [...]
read / write
idToken String?
A token that can be sent to your own server to verify the authentication data.
read / write
photoUrl String?
The photo url of the signed in user if the user has a profile picture. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serverAuthCode String?
Server auth code used to access Google Login
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(dynamic other) bool
The equality operator. [...]