name property

String? name

Gets the name of the layer

Implementation

String? get name => _name;
void name=(String? value)

Sets the name of the layer

Implementation

set name(String? value) {
  _name = value;
  if (_helper.dictionary != null && _name != null && _name != '') {
    _helper.dictionary!
        .setProperty(PdfDictionaryProperties.name, PdfString(_name!));
  }
}