I set up Firestore in my project. I created new collection named categories. In this collection I created three documents with uniq id. Now I want to get this c
categories
Here is the code if you just want to read it once
QuerySnapshot querySnapshot = await Firestore.instance.collection("collection").getDocuments(); var list = querySnapshot.documents;