code: List<QueryDocumentSnapshot> toList() {
      List<QueryDocumentSnapshot> documents = new ArrayList<>(size());
      for (QueryDocumentSnapshot document : this) {
        documents.add(document);
      }
      return documents;
    }
docs: Returns a copy of the documents in this set as array. This is O(n) in the size of the set.