how to allow the deletion of markers on Google maps without null value error on the device where I deleted the document.

Troubleshooting

Currently, we have multiple markers on Google Maps. Google Maps displays it as a list of documents. In another tab, if you delete 1 data in this document, you will get a red screen "Unexpected null value" error. What I want to know is how to allow the deletion of markers on Google maps without error on the terminal where I deleted the document.

What have you tried so far?

When testing on multiple devices, when deleting a document on another device, the error did not occur on this device, but only on the device where the deletion operation was performed. I tried setting up a refresh button and pressing it as a single-time query, but the error does not disappear.

Did you check FlutterFlow's Documentation for this topic?
Yes