name property

String? get name

Gets the name of the layer

Implementation

String? get name => _name;
set 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!),
    );
  }
}