IotWidget class

Constructors

IotWidget({required String id, String title = "", String icon = "", int minWidth = 0, int minHeight = 0, List<IotWidgetElement> elements = const <IotWidgetElement>[], String tags = "", List<String> compatibleModels = const <String>[], String vendor = ""})
IotWidget.fromJson(Map<String, dynamic> json)

Properties

compatibleModels List<String>
final
elements List<IotWidgetElement>
final
hashCode int
The hash code for this object.
no setterinherited
icon String
final
id String
final
minHeight int
final
minWidth int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags String
final
title String
final
vendor String
final

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

getCompatibleModels(Map<String, dynamic> json) List<String>