id property

String id

The unique ID for the Google account.

This is the preferred unique key to use for a user record.

Important: Do not use this returned Google ID to communicate the currently signed in user to your backend server. Instead, send an ID token which can be securely validated on the server. GoogleSignInAccount.authentication.idToken provides such an ID token.

Implementation

String get id;