GoogleSecuritySafebrowsingV4ThreatMatch.fromJson constructor
GoogleSecuritySafebrowsingV4ThreatMatch.fromJson(
- Map json_
Implementation
GoogleSecuritySafebrowsingV4ThreatMatch.fromJson(core.Map json_)
: this(
cacheDuration: json_.containsKey('cacheDuration')
? json_['cacheDuration'] as core.String
: null,
platformType: json_.containsKey('platformType')
? json_['platformType'] as core.String
: null,
threat: json_.containsKey('threat')
? GoogleSecuritySafebrowsingV4ThreatEntry.fromJson(
json_['threat'] as core.Map<core.String, core.dynamic>)
: null,
threatEntryMetadata: json_.containsKey('threatEntryMetadata')
? GoogleSecuritySafebrowsingV4ThreatEntryMetadata.fromJson(
json_['threatEntryMetadata']
as core.Map<core.String, core.dynamic>)
: null,
threatEntryType: json_.containsKey('threatEntryType')
? json_['threatEntryType'] as core.String
: null,
threatType: json_.containsKey('threatType')
? json_['threatType'] as core.String
: null,
);