setCurrentPage method
Sets the current page of the document to the given page number.
pageNumber
is 1-indexed. Returns true if the setting is successful.
Implementation
Future<bool?> setCurrentPage(int pageNumber) {
return _channel.invokeMethod(Functions.setCurrentPage,
<String, dynamic>{Parameters.pageNumber: pageNumber});
}