getPageCount method

Future<int> getPageCount()

Get the total number of pages in the current document

example:

int pageCount = await document.getPageCount();

Implementation

Future<int> getPageCount()  async {
  return await _channel.invokeMethod('get_page_count');
}