How do I retrieve data from firestore flutter?
Call the getDocs() function, then use the build function, then print all the document IDs in the console . Here is how you do it! Get all data from the collection that you found working, without using deprecated methods.
Read more