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
QuerySnapshot snap = await Firestore.instance.collection('collection').getDocuments(); snap.documents.forEach((document) { print(document.documentID); });