I have an firestore database with collection -> Document -> many sub-collections. I need to get all data from all sub-collections using FirebaseFirestore.instance... firestore
I have to create a search button in flutter which takes all the data from firestore so as to allow searching for each collection instead of searching on a single one. code 1