function SampleItem() {
  /** @suppress {globalThis} suppression added to enable type checking */
  this.text = '';
  /** @suppress {globalThis} suppression added to enable type checking */
  this.isRtl = false;
  /** @suppress {globalThis} suppression added to enable type checking */
  this.isHtml = false;
}
Creates simple object with text and also direction and HTML flags
return {Object<string, boolean, boolean>}
@private