I have the following list field in Firestore.
Now, I need to place value in seetsList[2]
.
FirebaseFirestore.instance.collection('Rooms').doc(widget.roomId).update({
'seetsList': FieldValue.arrayUnion(?????????????????)
});
Note: my listValue is always fixed with 5 index and peer index it has default value 0
Is this possible?