I have the following method which connects to Firestore as expected and adds data if there is existing data.
But if I add an empty object it clears out all my data. I