FetchThreatListUpdatesResponse.fromJson constructor

FetchThreatListUpdatesResponse.fromJson(
  1. Map _json
)

Implementation

FetchThreatListUpdatesResponse.fromJson(core.Map _json) {
  if (_json.containsKey("listUpdateResponses")) {
    listUpdateResponses = (_json["listUpdateResponses"] as core.List)
        .map<ListUpdateResponse>(
            (value) => new ListUpdateResponse.fromJson(value))
        .toList();
  }
  if (_json.containsKey("minimumWaitDuration")) {
    minimumWaitDuration = _json["minimumWaitDuration"];
  }
}