1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 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<String>? devices;
- Hardware({this.ver, this.hardwareVer, this.name, this.msg, this.file, this.time});
- Hardware.fromJson(Map<String, dynamic> 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<String, dynamic> toJson() {
- final Map<String, dynamic> data = new Map<String, dynamic>();
- 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;
- }
- }
|