DeviceIdentifier.fromJson constructor

DeviceIdentifier.fromJson(
  1. Map _json
)

Implementation

DeviceIdentifier.fromJson(core.Map _json) {
  if (_json.containsKey("imei")) {
    imei = _json["imei"];
  }
  if (_json.containsKey("manufacturer")) {
    manufacturer = _json["manufacturer"];
  }
  if (_json.containsKey("meid")) {
    meid = _json["meid"];
  }
  if (_json.containsKey("model")) {
    model = _json["model"];
  }
  if (_json.containsKey("serialNumber")) {
    serialNumber = _json["serialNumber"];
  }
}