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