hasBookmark method
Checks if a bookmark exists for the specified page index.
Parameters:
pageIndexThe index of the page to check for a bookmark. example:
bool hasBookmark = await document.hasBookmark(0);
Implementation
Future<bool> hasBookmark(int pageIndex) async {
return await _channel.invokeMethod('has_bookmark', pageIndex);
}