DeviceInfoModel.fromMap constructor

DeviceInfoModel.fromMap(
  1. Map<String, dynamic> json
)

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"]),
  );
}