CommandModel.fromJson(Map<String, dynamic> json) { deviceId = json["deviceId"]; type = json["type"]; description = json["description"]; attributes = json["attributes"]; }