openFile static method
Opening the specified file.
For Web, filePath can be relative path from index.html or any arbitrary URL but it may be restricted by CORS.
Implementation
static Future<PdfDocument> openFile(String filePath) =>
PdfRenderPlatform.instance.openFile(filePath);