options property
Gets the options (/Opt) for the choice field.
Implementation
List<String> get options {
final opt = dictionary[PdfNameTokens.opt];
if (opt is! PdfArray) return const <String>[];
final options = <String>[];
for (final value in opt.values) {
final option = _choiceOptionLabel(value);
if (option != null) options.add(option);
}
return options;
}