DeviceIot class
Constructors
-
DeviceIot({required String id, required String sn, String model = "", String name = "", String sammy = "", String localip = "", String fwName = "", String fwVersion = "", String stats = "", String state = "lost", String desc = "", String mapLng = "", String mapLat = "", String logo = "", List<
Node> nodes = const <Node>[], String born = "", String adminId = "", String developerId = "", bool isLogged = false, bool serverTime = false, bool status = false, bool reset = false, bool restart = false, String mac = "", DeviceOption options = const DeviceOption(), Wgt wgt = const Wgt(model: null), String fwUpdateMode = "auto", int fwVersionCode = 0, int fwSize = 0}) -
DeviceIot.fromJson(Map<
String, dynamic> json)
Properties
- adminId → String
-
final
- born → String
-
final
- desc → String
-
final
- developerId → String
-
final
- fwName → String
-
final
- fwSize → int
-
final
- fwUpdateMode → String
-
final
- fwVersion → String
-
final
- fwVersionCode → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- isLogged → bool
-
final
- localip → String
-
final
- logo → String
-
final
- mac → String
-
final
- mapLat → String
-
final
- mapLng → String
-
final
- model → String
-
final
- name → String
-
final
-
nodes
→ List<
Node> -
final
- options → DeviceOption
-
final
- reset → bool
-
final
- restart → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sammy → String
-
final
- serverTime → bool
-
final
- sn → String
-
final
- state → String
-
final
- stats → String
-
final
- status → bool
-
final
- wgt → Wgt
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override