pageRefs property

List<PdfRefToken> get pageRefs

Page references, in document order.

The result is memoized: walking the /Pages tree of a large document is expensive and the file does not change.

Implementation

List<PdfRefToken> get pageRefs => _pageRefsCache ??= _collectAllPageRefs();