ExtractedDocument constructor

const ExtractedDocument({
  1. required String content,
  2. required String mimeType,
  3. required Metadata metadata,
  4. ExtractionMethod? extractionMethod,
  5. required List<Table> tables,
  6. required DocumentCounts counts,
  7. List<String>? detectedLanguages,
  8. List<LanguageConfidence>? detectedLanguageConfidences,
  9. List<Chunk>? chunks,
  10. List<ExtractedImage>? images,
  11. List<PageContent>? pages,
  12. List<Element>? elements,
  13. DjotContent? djotContent,
  14. List<OcrElement>? ocrElements,
  15. DocumentStructure? document,
  16. List<Keyword>? extractedKeywords,
  17. double? qualityScore,
  18. required List<ProcessingWarning> processingWarnings,
  19. List<PdfAnnotation>? annotations,
  20. List<ArchiveEntry>? children,
  21. List<ExtractedUri>? uris,
  22. List<DocumentRevision>? revisions,
  23. String? structuredOutput,
  24. String? codeIntelligence,
  25. List<LlmUsage>? llmUsage,
  26. List<Entity>? entities,
  27. DocumentSummary? summary,
  28. ExtractionConfidence? extractionConfidence,
  29. Translation? translation,
  30. List<PageClassification>? pageClassifications,
  31. RedactionReport? redactionReport,
  32. required List<Formula> formulas,
  33. required List<PdfFormField> formFields,
  34. List<OcrPageFailure>? ocrPageFailures,
})

Implementation

const ExtractedDocument({
  required this.content,
  required this.mimeType,
  required this.metadata,
  this.extractionMethod,
  required this.tables,
  required this.counts,
  this.detectedLanguages,
  this.detectedLanguageConfidences,
  this.chunks,
  this.images,
  this.pages,
  this.elements,
  this.djotContent,
  this.ocrElements,
  this.document,
  this.extractedKeywords,
  this.qualityScore,
  required this.processingWarnings,
  this.annotations,
  this.children,
  this.uris,
  this.revisions,
  this.structuredOutput,
  this.codeIntelligence,
  this.llmUsage,
  this.entities,
  this.summary,
  this.extractionConfidence,
  this.translation,
  this.pageClassifications,
  this.redactionReport,
  required this.formulas,
  required this.formFields,
  this.ocrPageFailures,
});