open method

Future<void> open()

Open the PDF by the path this PdfImageRendererPdf was initialized with.

Must be closed with the close method to free up memory.

Implementation

Future<void> open() async {
  if (_id != null) return;

  _id = await PdfImageRenderer.openPdf(path: _path);
}