openFile static method
Open PDF document from filesystem path
Implementation
static Future<PdfDocument> openFile(String filePath) async => _open(
(await _channel.invokeMethod<Map<dynamic, dynamic>>(
'open.document.file',
filePath,
))!,
'file:$filePath',
);