'Export a firebase collection as CSV from a flutter app and download the file in mobile

I am trying to download a collection 'user' from cloud fire store in my android application in the CSV format. The android application is built using flutter. I tried to google the topic, but could not get a straightforward solution.

I would be glad if anyone can give me some direction.

Thanks Regards Gourab

Screenshot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source