I can get widget parameters in the widget class like
$this->getWidgetTitle()
but here widget_title has been declared in widget parameters in widget.xml file,
I want to get the widget instance id too, but the getData() method doesn’t return anything like this.
Any kind of help is appreciated. Thanks