name property

String? get name

Gets the name of the layer

Implementation

String? get name {
  return _name;
}
set name (String? value)

Sets the name of the layer

Implementation

set name(String? value) {
  if (value != null) {
    _name = value;
    _helper.layerID ??= 'OCG_${PdfResources.globallyUniqueIdentifier}';
  }
}