GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest.fromJson constructor

GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest.fromJson(
    core.Map json_)
    : this(
        constraints: json_.containsKey('constraints')
            ? GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints
                .fromJson(json_['constraints']
                    as core.Map<core.String, core.dynamic>)
            : null,
        platformType: json_.containsKey('platformType')
            ? json_['platformType'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        threatEntryType: json_.containsKey('threatEntryType')
            ? json_['threatEntryType'] as core.String
            : null,
        threatType: json_.containsKey('threatType')
            ? json_['threatType'] as core.String
            : null,
      );