lookup method

PdfContentValue? lookup(
  1. String key, [
  2. String? alias
])

Reads an entry accepting either the full name or the inline image abbreviation (for example /Width and /W).

Implementation

PdfContentValue? lookup(String key, [String? alias]) =>
    values[key] ?? (alias == null ? null : values[alias]);