Update the Map field - Flutter
问题 How to update data of isVerified (Boolean) field. Personal Info is Map contains address and then isVerified. 回答1: To update isVerified , you have to do the following: Firestore.instance.collection("collection Name").document("documentId").updateData({ "Personal Info.address.isVerified": true, }).then((_) { print("success!"); }); 回答2: Since you did not provide your collection or document name I would just form one So lets assume every time we click a button the value should be changed to true