How to add List of Object to Firestore?

Posted by Pinki | Updated on

Want to add List of Object to Firestore? To push an object to Firestore you need to convert your object to map, add this function to your class:

To push a List of customSteps you need to convert all objects to map, you can do it with following method:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers