PdfReferenceResolver typedef
PdfReferenceResolver =
PdfDataType? Function(PdfRefToken ref)
Decides what an indirect reference read by the parser becomes in the writing model.
Returning null means the value must disappear: in dictionaries the key
is removed — which the specification treats as equivalent to null — and
in arrays the item vanishes or becomes null, per PdfArrayGapPolicy.
Implementation
typedef PdfReferenceResolver = PdfDataType? Function(PdfRefToken ref);