getPageCount method

Future<int?> getPageCount()

Gets the total number of pages in the currently displayed document.

Implementation

Future<int?> getPageCount() {
  return _channel.invokeMethod(Functions.getPageCount);
}