GoogleSecuritySafebrowsingV4FindFullHashesRequest.fromJson constructor

GoogleSecuritySafebrowsingV4FindFullHashesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV4FindFullHashesRequest.fromJson(core.Map json_)
    : this(
        apiClient: json_.containsKey('apiClient')
            ? GoogleSecuritySafebrowsingV4ClientInfo.fromJson(
                json_['apiClient'] as core.Map<core.String, core.dynamic>)
            : null,
        client: json_.containsKey('client')
            ? GoogleSecuritySafebrowsingV4ClientInfo.fromJson(
                json_['client'] as core.Map<core.String, core.dynamic>)
            : null,
        clientStates: json_.containsKey('clientStates')
            ? (json_['clientStates'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        threatInfo: json_.containsKey('threatInfo')
            ? GoogleSecuritySafebrowsingV4ThreatInfo.fromJson(
                json_['threatInfo'] as core.Map<core.String, core.dynamic>)
            : null,
      );