init static method

Future<void> init()

Initializes the PDF OCR library.

This method must be called before using any extraction functionality. It initializes the underlying Rust library and prepares it for use.

Throws an exception if initialization fails.

Implementation

static Future<void> init() async {
  await RustLib.init();
}