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