ListUpdateRequest.fromJson constructor

ListUpdateRequest.fromJson(
  1. Map _json
)

Implementation

ListUpdateRequest.fromJson(core.Map _json) {
  if (_json.containsKey("constraints")) {
    constraints = new Constraints.fromJson(_json["constraints"]);
  }
  if (_json.containsKey("platformType")) {
    platformType = _json["platformType"];
  }
  if (_json.containsKey("state")) {
    state = _json["state"];
  }
  if (_json.containsKey("threatEntryType")) {
    threatEntryType = _json["threatEntryType"];
  }
  if (_json.containsKey("threatType")) {
    threatType = _json["threatType"];
  }
}