GoogleSecuritySafebrowsingV4ThreatInfo.fromJson constructor

GoogleSecuritySafebrowsingV4ThreatInfo.fromJson(
  1. Map json_
)

Implementation

GoogleSecuritySafebrowsingV4ThreatInfo.fromJson(core.Map json_)
    : this(
        platformTypes: (json_['platformTypes'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        threatEntries: (json_['threatEntries'] as core.List?)
            ?.map((value) => GoogleSecuritySafebrowsingV4ThreatEntry.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        threatEntryTypes: (json_['threatEntryTypes'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        threatTypes: (json_['threatTypes'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );