code: public function removeWidget(string $widgetId)
      {
          if (isset($this->widgets[$widgetId])) {
              unset($this->widgets[$widgetId]);
          }
  
          return $this;
      }
docs: Remove Widget.
  
  @param string $widgetId
  
  @return $this