code: public function renderRichResponseItem()
      {
          $out = [];
          $basicCard = [];
  
          if ($this->imageUrl) {
              $basicCard['image'] = [
                  'url'               => $this->imageUrl,
                  'accessibilityText' => ($this->accessibilityText) ? $this->accessibilityText : 'accessibility text',
              ];
          }
  
          $out['basicCard'] = $basicCard;
  
          return $out;
      }
docs: Render a single Rich Response item as array.
  
  @return null|array