You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you could create another class service for getting user snapshot from Firestore and inside there you could create a function or method that accepts string parameter uid of the current user logged in. And has a returning value of stream user.
I want to add more fields to User model, for example, name, sex, job title, age, etc. Here is my code:
The basic idea is I will get the data from users collection and populate the User model. But I got the following error message:
Need your advice. Thanks.
The text was updated successfully, but these errors were encountered: