public T ToObject <T>() where T : class
 {
     return(DocumentMapper.Map <T>(DocumentSnapshot));
 }
 public T ToObject <T>()
 {
     return(DocumentMapper.Map <T>(_documentSnapshot));
 }
 public T ToObject <T>(ServerTimestampBehavior serverTimestampBehavior)
 {
     return(DocumentMapper.Map <T>(_documentSnapshot, serverTimestampBehavior));
 }
 public IDictionary <string, object?>?GetData(ServerTimestampBehavior serverTimestampBehavior)
 {
     return(Exists ? DocumentMapper.Map(_documentSnapshot, serverTimestampBehavior) : null);
 }