prepare method

  1. @override
void prepare()

Prepare the object to be written to the stream

Implementation

@override
void prepare() {
  super.prepare();

  params['/Subtype'] = PdfName(subtype);
  params['/Name'] = PdfName(name);
  params['/Encoding'] = const PdfName('/WinAnsiEncoding');
}