GooglePrivacyDlpV2KMapEstimationHistogramBucket.fromJson constructor

GooglePrivacyDlpV2KMapEstimationHistogramBucket.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2KMapEstimationHistogramBucket.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) =>
                    GooglePrivacyDlpV2KMapEstimationQuasiIdValues.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        maxAnonymity: json_.containsKey('maxAnonymity')
            ? json_['maxAnonymity'] as core.String
            : null,
        minAnonymity: json_.containsKey('minAnonymity')
            ? json_['minAnonymity'] as core.String
            : null,
      );