openPdf method
Open a PDF from the given path.
Implementation
@override
Future<int?> openPdf({
required String path,
String? password,
}) async {
final pdf = await methodChannel.invokeMethod<int>('openPDF', {
'path': path,
'password': ?password,
});
return pdf;
}