excludeNonUserAnnotations property Null safety

bool excludeNonUserAnnotations

Gets or sets a value indicating whether to exclude non user annotations form submit data stream.

Implementation

bool get excludeNonUserAnnotations => _excludeNonUserAnnotations;
void excludeNonUserAnnotations=(bool value)

Implementation

set excludeNonUserAnnotations(bool value) {
  if (_excludeNonUserAnnotations != value) {
    _excludeNonUserAnnotations = value;

    if (_excludeNonUserAnnotations) {
      _flags.add(PdfSubmitFormFlags.exclNonUserAnnots);
    } else {
      _flags.remove(PdfSubmitFormFlags.exclNonUserAnnots);
    }
  }
}