resolveDict method
Resolves value and returns the dictionary, or null if it is not one.
Implementation
PdfDict? resolveDict(PdfDataType? value, {int maxDepth = 32}) {
final resolved = resolve(value, maxDepth: maxDepth);
return resolved is PdfDict ? resolved : null;
}