code: @Nonnull
    public <T> List<T> toObjects(@Nonnull Class<T> clazz) {
      List<T> results = new ArrayList<>();
  
      for (DocumentSnapshot documentSnapshot : getDocuments()) {
        results.add(CustomClassMapper.convertToCustomClass(documentSnapshot.getData(), clazz));
      }
  
      return results;
    }
docs: Returns the contents of the documents in the QuerySnapshot, converted to the provided class, as
  a list.
  
  @param clazz The POJO type used to convert the documents in the list.