PdfTextDiffSegment class

One run of the alignment between two pages' token streams.

Constructors

PdfTextDiffSegment({required PdfTextDiffKind kind, required List<PdfTextToken> before, required List<PdfTextToken> after})
const

Properties

after → List<PdfTextToken>
Tokens from the "after" page (PdfTextDiffKind.equal and PdfTextDiffKind.inserted); empty for deletes.
final
before → List<PdfTextToken>
Tokens from the "before" page (PdfTextDiffKind.equal and PdfTextDiffKind.deleted); empty for inserts.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → PdfTextDiffKind
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited