mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-26 19:34:54 +00:00
@ -12,8 +12,8 @@ class CurtainModel {
|
||||
});
|
||||
|
||||
factory CurtainModel.fromJson(dynamic json) {
|
||||
final statusList = json['status'] as List;
|
||||
final status = statusList.map((i) => Status.fromJson(i)).toList();
|
||||
var statusList = json['status'] as List;
|
||||
List<Status> status = statusList.map((i) => Status.fromJson(i)).toList();
|
||||
|
||||
return CurtainModel(
|
||||
productUuid: json['productUuid'],
|
||||
|
||||
Reference in New Issue
Block a user