subtype property

String? get subtype

The /Subtype of the annotation, with the leading slash (/Link, /Widget, ...).

Implementation

String? get subtype {
  final value = dictionary[PdfNameTokens.subtype];
  return value is PdfName ? value.value : null;
}