i want to change taken value to true on specific index of notification time stamp (array in fire base ,shown in image)so how i write my query [1]: https://i.stack.imgur.com/aGWpI.jpg
my code:-
await FirebaseFirestore.instance
.collection('Prescriptions')
.doc(medicineDetails['id'].toString())
.update({
'NotificationTimeStamp ': FieldValue.arrayUnion([{}])
});