userId property
String
userId
Returns the user ID on the authentication platform during sign-in.
This ID is unique and can be used as a unique ID to register in the user's DB.
サインイン時、認証プラットフォーム上のユーザーIDを返します。
このIDはユニークなものとなっているためユーザーのDBに登録するユニークIDとして利用可能です。
Implementation
String get userId => !isSignedIn ? "" : active.get(userIdKey, "");