toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (imei != null) {
    _json["imei"] = imei;
  }
  if (manufacturer != null) {
    _json["manufacturer"] = manufacturer;
  }
  if (meid != null) {
    _json["meid"] = meid;
  }
  if (model != null) {
    _json["model"] = model;
  }
  if (serialNumber != null) {
    _json["serialNumber"] = serialNumber;
  }
  return _json;
}