class Hardware { String? ver; String? hardwareVer; String? name; String? msg; String? file; String? time; String? min_hardware_ver; String? max_hardware_ver; String? min_app_ver; String? max_app_ver; String? localVer; List? devices; Hardware({this.ver, this.hardwareVer, this.name, this.msg, this.file, this.time}); Hardware.fromJson(Map json) { ver = json['ver']; hardwareVer = json['hardware_ver']; name = json['name']; msg = json['msg']; file = json['file']; time = json['time']; min_hardware_ver = json['min_hardware_ver']; max_hardware_ver = json['max_hardware_ver']; min_app_ver = json['min_app_ver']; max_app_ver = json['max_app_ver']; } Map toJson() { final Map data = new Map(); data['ver'] = this.ver; data['hardware_ver'] = this.hardwareVer; data['name'] = this.name; data['msg'] = this.msg; data['file'] = this.file; data['time'] = this.time; return data; } }