cachapa / firedart

A dart-native implementation of the Firebase Auth and Firestore SDKs
https://pub.dev/packages/firedart
Apache License 2.0
174 stars 62 forks source link

updating nested map specific value reset the entire map? #106

Closed Mahsanali0786 closed 1 year ago

Mahsanali0786 commented 1 year ago

await Firestore.instance .collection('myCollection') .document('myDocument') .update( {'map.map2.field': 'value'}, ); in the above code when i try to update the field in map it just delete all the values. Kindly guide me?