I am new at Flutter and Firebase, I just want to fetch data from Firestore, for example here, I just want to fetch the value of "KullaniciAdi" from the "[email protected]" document, as simply as possible.
I am new at Flutter and Firebase, I just want to fetch data from Firestore, for example here, I just want to fetch the value of "KullaniciAdi" from the "[email protected]" document, as simply as possible.
2
Answers
I think the structure of the folders is confusing, in general the documents are IDs, like this:
Example:
Collection (users) – Document (sALkf983l3j5RGjsk82lfds) – Fields (name, email, gender)
In this case you could make a call like this:
You can do it:
Editing:
To fetch a specific field value:
used like this