dashArray property Null safety

int? dashArray

Gets or sets the line dash of the annotation.

Implementation

int? get dashArray => _dashArray;
void dashArray=(int? value)

Implementation

set dashArray(int? value) {
  if (value != null && _dashArray != value) {
    _dashArray = value;
    final _PdfArray dasharray = _PdfArray();
    dasharray._add(_PdfNumber(_dashArray!));
    dasharray._add(_PdfNumber(_dashArray!));
    _dictionary.setProperty(_DictionaryProperties.d, dasharray);
  }
}