prepare method
Prepare the object to be written to the stream
Implementation
@override
void prepare() {
super.prepare();
params['/SubType'] = const PdfName('/XML');
params.data = Uint8List.fromList(utf8.encode(metadata.toString()));
}
Prepare the object to be written to the stream
@override
void prepare() {
super.prepare();
params['/SubType'] = const PdfName('/XML');
params.data = Uint8List.fromList(utf8.encode(metadata.toString()));
}