ExtractionDiff class

The complete diff between two ExtractedDocument values.

Constructors

ExtractionDiff({required List<DiffHunk> contentDiff, required List<Table> tablesAdded, required List<Table> tablesRemoved, required List<TableDiff> tablesChanged, required String metadataChanged, required EmbeddedChanges embeddedChanges})
const

Properties

contentDiff → List<DiffHunk>
Unified-diff hunks for the content field.
final
embeddedChanges → EmbeddedChanges
Changes to embedded archive children.
final
hashCode → int
The hash code for this object.
no setteroverride
metadataChanged → String
Metadata difference, encoded as a JSON object with three top-level keys: added (keys present in b but not a), removed (keys present in a but not b), and changed (keys whose values differ — each entry is { "from": <value-in-a>, "to": <value-in-b> }).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tablesAdded → List<Table>
Tables present in b but not in a (by index position, excess right-side tables).
final
tablesChanged → List<TableDiff>
Cell-level changes for table pairs that share the same index and dimensions.
final
tablesRemoved → List<Table>
Tables present in a but not in b (by index position, excess left-side tables).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override