template property Null safety

PdfDocumentTemplate template

Gets a template to all pages in the document.

Implementation

PdfDocumentTemplate get template {
  _template ??= PdfDocumentTemplate();
  return _template!;
}
void template=(PdfDocumentTemplate value)

Sets a template to all pages in the document.

Implementation

set template(PdfDocumentTemplate value) {
  _template = value;
}