name property

String name

Gets or sets the name for this layer. The initial value is an empty string, which is also the name of the default layer. The name should be unique among the diagram's Diagram#layers.

Implementation

_i2.String get name => _i4.getProperty(
      this,
      'name',
    );
void name=(String value)

Implementation

set name(_i2.String value) {
  _i4.setProperty(
    this,
    'name',
    value,
  );
}