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 moreCan I use both firestore and realtime database?
You can use both Firebase Realtime Database and Cloud Firestore in your app , and leverage each database solution’s benefits to fit your needs. For example, you might want to leverage Realtime Database’s support for presence, as outlined in Build Presence in Cloud Firestore.
Read moreHow do I use cloud firestore with flutter?
Firestore Tutorial for Flutter: Getting Started
Read moreHow do I get data from cloud firestore in flutter?
How to get all data from a Firestore collection in flutter?
Read moreHow do I retrieve my firestore data?
There are two ways to retrieve data stored in Cloud Firestore. Either of these methods can be used with documents, collections of documents, or the results of queries: Call a method to get the data . Set a listener to receive data-change events.
Read moreWhat happened Firebase-core?
firebase-core is no longer listed as a required dependency in the Android getting started guide and was removed from the list of available libraries . Now adding firebase-analytics to your app is optional in the getting started guide.
Read more