set icon(value) {
    if (value) {
      this.setAttribute(attributes.ICON, value.toString());
    } else {
      this.removeAttribute(attributes.ICON);
    }
    this.#updateNodeAttribute(attributes.ICON);
  }
/**
   * Sets the tree node icon
   * @param {string|null} value The icon name
   */
Sets the tree node icon
@param {string|null} value The icon name
Sets the tree node icon @param { string|null } value The icon name
set icon(value) {
    if (value) {
      this.setAttribute(attributes.ICON, value.toString());
    } else {
      this.removeAttribute(attributes.ICON);
    }
    this.#updateNodeAttribute(attributes.ICON);
  }
set icon ( value ) { if ( value ) { this . setAttribute ( attributes . ICON , value . toString ( ) ) ; } else { this . removeAttribute ( attributes . ICON ) ; } this . #updateNodeAttribute ( attributes . ICON ) ; }
Sets the tree node icon
 @param {string|null} value The icon name
Sets the tree node icon @param { string|null } value The icon name