I am retrieving a document from Firestore that looks like the following:
document: [ field1: 5, field2: 7, field3: 2 ]
I have a function