document property

The open PDF document and its document-level operations.

Available after the controller is ready.

final count = await controller.document.getPageCount();
final json = await controller.document.annotations.getAnnotationsJson(0, 'all');
final bookmarks = await controller.document.bookmarks.getBookmarks();

Implementation

NutrientDocumentInterface get document;