isSettableSuitable static method
Implementation
static bool isSettableSuitable(
IotWidgetElement selectedIotWidgetElement, Property property) {
// if widget settable is false, it can also received resource with settable true
// if widget settable is true, it can't receive resource with settable false, only true
return selectedIotWidgetElement.settable == false ||
selectedIotWidgetElement.settable == property.settable;
}