GoogleCloudWebriskV1ThreatEntryAdditions.fromJson constructor

GoogleCloudWebriskV1ThreatEntryAdditions.fromJson(
  1. Map json_
)

Implementation

GoogleCloudWebriskV1ThreatEntryAdditions.fromJson(core.Map json_)
    : this(
        rawHashes: json_.containsKey('rawHashes')
            ? (json_['rawHashes'] as core.List)
                .map((value) => GoogleCloudWebriskV1RawHashes.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        riceHashes: json_.containsKey('riceHashes')
            ? GoogleCloudWebriskV1RiceDeltaEncoding.fromJson(
                json_['riceHashes'] as core.Map<core.String, core.dynamic>)
            : null,
      );