Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error #3

Closed
RaviKumarK25 opened this issue Jul 10, 2020 · 1 comment
Closed

Getting Error #3

RaviKumarK25 opened this issue Jul 10, 2020 · 1 comment

Comments

@RaviKumarK25
Copy link

Hi @salvadordeveloper bro, please help me to solve this issue. I am getting error in these below codes

var userData = await Firestore.instance.collection("Users").where("username",isEqualTo: userId).getDocuments();
var videosViewed = userData.documents[0].data['videosViewed'];

are you using any user table? please help me to solve my issue. I am waiting for your reply,

@salvadordeveloper
Copy link
Owner

Fixed, new sample data is added automatically to Firestore, if you want edit or add more data edit the file "demo_data.dart", is very easy to add or remove videos, is in format json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants