get Widget Config Entry
abstract fun <T : ConfigEntry<out Any>?> getWidgetConfigEntry(@NotNull widgetId: @NotNull String): Optional<T>
Gets the configuration entry associated with the specified widget.
Return
An optional containing the configuration entry, or an empty optional if not found.
Parameters
widget Id
Unique identifier of the widget.