PdfAttachment class Null safety

Represents the attachments of the PDF document.

Constructors

PdfAttachment(String fileName, List<int> data, {String? description, String? mimeType})
Initializes a new instance of the PdfAttachment class with specified file name and byte data to be attached.
PdfAttachment.fromBase64String(String fileName, String base64String, {String? description, String? mimeType})
Initializes a new instance of the PdfAttachment class with specified file name and byte data as base64 String to be attached.

Properties

creationDate DateTime
Gets creation date.
read / write
data List<int>
Gets the data.
read / write
description String
Gets the description.
read / write
fileName String
Gets the file name.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
mimeType String
Gets the MIME type of the embedded file.
read / write
modificationDate DateTime
Gets modification date.
read / write
relationship PdfAttachmentRelationship
Get the file relationship.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited