getPdfPageCount method
Returns the number of pages for the PDF located at given path.
Implementation
@override
Future<int?> getPdfPageCount({
required int pdf,
}) async {
final count = await methodChannel.invokeMethod<int>('getPDFPageCount', {
'pdf': pdf,
});
return count;
}