GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse.fromJson constructor
GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse.fromJson(
- Map json_
Implementation
GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse.fromJson(
core.Map json_,
) : this(
additions:
(json_['additions'] as core.List?)
?.map(
(value) =>
GoogleSecuritySafebrowsingV4ThreatEntrySet.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
checksum:
json_.containsKey('checksum')
? GoogleSecuritySafebrowsingV4Checksum.fromJson(
json_['checksum'] as core.Map<core.String, core.dynamic>,
)
: null,
newClientState: json_['newClientState'] as core.String?,
platformType: json_['platformType'] as core.String?,
removals:
(json_['removals'] as core.List?)
?.map(
(value) =>
GoogleSecuritySafebrowsingV4ThreatEntrySet.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
responseType: json_['responseType'] as core.String?,
threatEntryType: json_['threatEntryType'] as core.String?,
threatType: json_['threatType'] as core.String?,
);