action loop in firestore

Resolved

Hello, I have a list of notifications stored in firestore, checkbox type, each notification has a Boolean property, if it is true it is because it has already been read, so I want the user to mark the news as read by pressing a floating button ( all at once), I thought about storing each notification in a list in the page state, how do I use the loop to update each notification to read? Could you help me?

2 replies