DevicePropertiesHelper class

Constructors

DevicePropertiesHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

containValidProperty(IotWidget selectedParentWidget, IotWidgetElement selectedIotWidgetElement, DeviceIot device) bool
getAllProps(DeviceIot device) List<Property>
getNodeIdFromParameter(String parameter) String
getPropertyByDeviceParameter(String parameter, DeviceIot? device) Property?
getPropertyNameWithIndex(Property prop) String
getResourceNameFromDeviceParameter(String parameter) String
getValidDevices(IotWidget selectedParentWidget, IotWidgetElement selectedIotWidgetElement, List<DeviceIot> devices) List<ValidDevice>
getValidProps(IotWidgetElement selectedIotWidgetElement, ValidDevice validDevice) List<Property>
isDatatypeAcceptable(IotWidgetElement selectedIotWidgetElement, Property property) bool
isDatatypeSettableRetainedSuitable(IotWidgetElement element, Property prop) bool
isRetainedSuitable(IotWidgetElement selectedIotWidgetElement, Property property) bool
isSettableSuitable(IotWidgetElement selectedIotWidgetElement, Property property) bool
isVendorDeviceValid(IotWidgetElement selectedIotWidgetElement, Property property) bool
isVendorSuitable(IotWidget parent, String model) bool