injectEmbedPdfFatal static method

Future<void> injectEmbedPdfFatal()

Injects a fatal EmbedPDF failure so the viewer can fall back to PDF.js.

Implementation

static Future<void> injectEmbedPdfFatal() =>
    EmbedPdfEngineView.debugInjectFatal?.call() ?? Future<void>.value();