How to get a Map stored in Cloud Firestore with Dart/Flutter ? I tried this but it only works with Array :
Firestore.instance
.collection(\'posts\')
I don't recommend your way of data model. Because of some limitations as below:
So, better I would recommend you to use documents for each user.