DeviceInfo.fromMap constructor

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

Implementation

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