openFile method

  1. @override
Future<PdfDocument?> openFile(
  1. String filePath
)
override

Opening the specified file.

Implementation

@override
Future<PdfDocument?> openFile(String filePath) async {
  return _open(await _channel.invokeMethod('file', filePath), filePath);
}