Flutter cloud firestore get progress for adding 1000 docs

if I have a csv file of 1000 list and I wanna add all of them to firebase cloud firestore the obvious option is to call forEach and give it => FirebaseFirestore.instance.collection('Products').add(blablabla) but it would take too much time, I wanna show a loading indicator during this process but I can't get the progress for it



from Recent Questions - Stack Overflow https://ift.tt/3pB9VfV
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations