GooglePrivacyDlpV2CategoricalStatsHistogramBucket.fromJson constructor

GooglePrivacyDlpV2CategoricalStatsHistogramBucket.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2CategoricalStatsHistogramBucket.fromJson(core.Map json_)
    : this(
        bucketSize: json_.containsKey('bucketSize')
            ? json_['bucketSize'] as core.String
            : null,
        bucketValueCount: json_.containsKey('bucketValueCount')
            ? json_['bucketValueCount'] as core.String
            : null,
        bucketValues: json_.containsKey('bucketValues')
            ? (json_['bucketValues'] as core.List)
                .map((value) => GooglePrivacyDlpV2ValueFrequency.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        valueFrequencyLowerBound:
            json_.containsKey('valueFrequencyLowerBound')
                ? json_['valueFrequencyLowerBound'] as core.String
                : null,
        valueFrequencyUpperBound:
            json_.containsKey('valueFrequencyUpperBound')
                ? json_['valueFrequencyUpperBound'] as core.String
                : null,
      );