I tried searching this on the Firebase Google Groups/Slack/SO but couldn't find anything concrete except this answer from 2016.
I trying to implement a custom JSON deserializer to convert the DataSnapshot
to an object. The Firebase implement works as expected however I have a few edge cases where the Firestore database may be storing null
values for fields, or simply not exist. My goal is to provide default values so that I don't have to handle null pointers in each instance. Something similar to this. Is that possible?