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 (apiClient != null) {
    _json["apiClient"] = (apiClient).toJson();
  }
  if (client != null) {
    _json["client"] = (client).toJson();
  }
  if (clientStates != null) {
    _json["clientStates"] = clientStates;
  }
  if (threatInfo != null) {
    _json["threatInfo"] = (threatInfo).toJson();
  }
  return _json;
}