DeviceInfo.fromJson constructor

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

Implementation

DeviceInfo.fromJson(Map<String, dynamic> json) {
  srno = json['srno'] ?? '';
  dpId = json['dpId'] ?? '';
  rdsId = json['rdsId'] ?? '';
  rdsVer = json['rdsVer'] ?? '';
  dc = json['dc'] ?? '';
  mi = json['mi'] ?? '';
  mc = json['mc'] ?? '';
  addInfo = AdditionalInfo.fromJson(json['additional_info'] ?? {});
}