PdfDocumentInfo class

Document-level properties that are distinct from content metadata.

These are low-level PDF document properties: the PDF file version and the two file identifier entries (permanent and changing). They are returned as a single batched call to avoid multiple isolate round-trips.

File identifiers are typically 16-byte MD5 hashes. They are returned as Uint8List (raw bytes) so callers can choose their own encoding (e.g. hex string via hex.encode()).

Constructors

PdfDocumentInfo({int? fileVersion, Uint8List? permanentId, Uint8List? changingId})
Creates an immutable PdfDocumentInfo value object.
const

Properties

changingId → Uint8List?
The changing file identifier (typically a 16-byte MD5 hash), or null if the document has no file identifier array.
final
fileVersion → int?
The PDF file version as an integer (e.g. 17 for PDF 1.7), or null if the version could not be read.
final
hashCode → int
The hash code for this object.
no setterinherited
permanentId → Uint8List?
The permanent file identifier (typically a 16-byte MD5 hash), or null if the document has no file identifier array.
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.
override

Operators

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