GoogleSecuritySafebrowsingV4ThreatHitThreatSource.fromJson constructor

GoogleSecuritySafebrowsingV4ThreatHitThreatSource.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV4ThreatHitThreatSource.fromJson(core.Map json_)
    : this(
        referrer: json_.containsKey('referrer')
            ? json_['referrer'] as core.String
            : null,
        remoteIp: json_.containsKey('remoteIp')
            ? json_['remoteIp'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );