includeAnnotations property Null safety

bool includeAnnotations

Gets or sets a value indicating whether to submit annotations.

Implementation

bool get includeAnnotations => _includeAnnotations;
void includeAnnotations=(bool value)

Implementation

set includeAnnotations(bool value) {
  if (_includeAnnotations != value) {
    _includeAnnotations = value;

    if (_includeAnnotations) {
      _flags.add(PdfSubmitFormFlags.includeAnnotations);
    } else {
      _flags.remove(PdfSubmitFormFlags.includeAnnotations);
    }
  }
}