PdfObjectStream constructor

PdfObjectStream(
  1. PdfDocument pdfDocument, {
  2. String? type,
  3. bool isBinary = false,
})

Constructs a stream object to store some data

Implementation

PdfObjectStream(
  super.pdfDocument, {
  String? type,
  this.isBinary = false,
}) : super(
        params: PdfDict.values({
          if (type != null) '/Type': PdfName(type),
        }),
      );