DeviceInfoModel.fromMap constructor
Implementation
factory DeviceInfoModel.fromMap(Map<String, dynamic> json) {
return DeviceInfoModel(
dpId: json["dpId"],
rdsId: json["rdsId"],
rdsVer: json["rdsVer"],
dc: json["dc"],
mi: json["mi"],
mc: json["mc"],
additionalInfo: json["additional_info"] == null
? null
: AdditionalInfo.fromMap(json["additional_info"]),
);
}