set checked(value) {
    const checkmark = this.shadowRoot.querySelector('.checkmark');
    const val = IdsStringUtils.stringToBool(value);
    if (val) {
      this.setAttribute(attributes.CHECKED, val.toString());
      this.input?.setAttribute(attributes.CHECKED, val.toString());
      checkmark?.classList.add(attributes.CHECKED);
    } else {
      this.removeAttribute(attributes.CHECKED);
      this.input?.removeAttribute(attributes.CHECKED);
      checkmark?.classList.remove(attributes.CHECKED);
    }
  }
/**
   * Sets the checked state to true or false
   * @param {boolean|string} value If true will set `checked` attribute
   */
Sets the checked state to true or false
@param {boolean|string} value If true will set `checked` attribute
Sets the checked state to true or false @param { boolean|string } value If true will set ` checked ` attribute
set checked(value) {
    const checkmark = this.shadowRoot.querySelector('.checkmark');
    const val = IdsStringUtils.stringToBool(value);
    if (val) {
      this.setAttribute(attributes.CHECKED, val.toString());
      this.input?.setAttribute(attributes.CHECKED, val.toString());
      checkmark?.classList.add(attributes.CHECKED);
    } else {
      this.removeAttribute(attributes.CHECKED);
      this.input?.removeAttribute(attributes.CHECKED);
      checkmark?.classList.remove(attributes.CHECKED);
    }
  }
set checked ( value ) { const checkmark = this . shadowRoot . querySelector ( '.checkmark' ) ; const val = IdsStringUtils . stringToBool ( value ) ; if ( val ) { this . setAttribute ( attributes . CHECKED , val . toString ( ) ) ; this . input ?. setAttribute ( attributes . CHECKED , val . toString ( ) ) ; checkmark ?. classList . add ( attributes . CHECKED ) ; } else { this . removeAttribute ( attributes . CHECKED ) ; this . input ?. removeAttribute ( attributes . CHECKED ) ; checkmark ?. classList . remove ( attributes . CHECKED ) ; } }
Sets the checked state to true or false
 @param {boolean|string} value If true will set `checked` attribute
Sets the checked state to true or false @param { boolean|string } value If true will set ` checked ` attribute