GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest.fromJson constructor

GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest.fromJson(
    core.Map json_)
    : this(
        client: json_.containsKey('client')
            ? GoogleSecuritySafebrowsingV4ClientInfo.fromJson(
                json_['client'] as core.Map<core.String, core.dynamic>)
            : null,
        listUpdateRequests: json_.containsKey('listUpdateRequests')
            ? (json_['listUpdateRequests'] as core.List)
                .map((value) =>
                    GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );