PdfObjectDict constructor

PdfObjectDict(
  1. PdfDocument pdfDocument, {
  2. String? type,
  3. int objgen = 0,
  4. int? objser,
})

This is usually called by extensors to this class, and sets the Pdf Object Type

Implementation

PdfObjectDict(
  super.pdfDocument, {
  String? type,
  super.objgen,
  super.objser,
}) : super(params: PdfDict()) {
  if (type != null) {
    params['/Type'] = PdfName(type);
  }
}