lookupId method
Object with identity id, or null if there is none.
Implementation
PdfObject? lookupId(PdfObjectId id) {
final materialized = _objects[id];
if (materialized != null) return materialized;
final cached = _fromSource[id];
if (cached != null) return cached;
return _readFromSource(id);
}