Returns the export value of widget: its Opt entry when there is an Opt, else its on state's name.
public string? GetWidgetExportValue(PdfWidgetAnnotation widget)
One of the field's widgets.
null when the widget has no on state and no Opt entry.ISO 32000-2 §12.7.5.2.3, Table 230.