PdfMetadata class

Metadata extracted from the PDF Info dictionary.

All fields are nullable; a null value means the field was not present in the Info dictionary (as opposed to being present but empty). This mirrors the PDF specification where field presence and field value are distinct states.

The eight standard Info dictionary fields are: title, author, subject, keywords, creator, producer, creationDate, and modDate.

Constructors

PdfMetadata({String? title, String? author, String? subject, String? keywords, String? creator, String? producer, PdfDate? creationDate, PdfDate? modDate})
Creates an immutable PdfMetadata value object.
const

Properties

author String?
The document author, or null if not present.
final
creationDate PdfDate?
The date and time the document was created, or null if not present.
final
creator String?
The application that created the original document, or null if not present.
final
hashCode int
The hash code for this object.
no setterinherited
keywords String?
Comma-separated keywords, or null if not present.
final
modDate PdfDate?
The date and time the document was last modified, or null if not present.
final
producer String?
The application that converted the document to PDF, or null if not present.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
The document subject or description, or null if not present.
final
title String?
The document title, or null if not present.
final

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