FindFullHashesRequest.fromJson constructor

FindFullHashesRequest.fromJson(
  1. Map _json
)

Implementation

FindFullHashesRequest.fromJson(core.Map _json) {
  if (_json.containsKey("apiClient")) {
    apiClient = new ClientInfo.fromJson(_json["apiClient"]);
  }
  if (_json.containsKey("client")) {
    client = new ClientInfo.fromJson(_json["client"]);
  }
  if (_json.containsKey("clientStates")) {
    clientStates = (_json["clientStates"] as core.List).cast<core.String>();
  }
  if (_json.containsKey("threatInfo")) {
    threatInfo = new ThreatInfo.fromJson(_json["threatInfo"]);
  }
}