GooglePrivacyDlpV2PrivacyMetric.fromJson constructor

GooglePrivacyDlpV2PrivacyMetric.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2PrivacyMetric.fromJson(core.Map json_)
    : this(
        categoricalStatsConfig: json_.containsKey('categoricalStatsConfig')
            ? GooglePrivacyDlpV2CategoricalStatsConfig.fromJson(
                json_['categoricalStatsConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deltaPresenceEstimationConfig:
            json_.containsKey('deltaPresenceEstimationConfig')
                ? GooglePrivacyDlpV2DeltaPresenceEstimationConfig.fromJson(
                    json_['deltaPresenceEstimationConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        kAnonymityConfig: json_.containsKey('kAnonymityConfig')
            ? GooglePrivacyDlpV2KAnonymityConfig.fromJson(
                json_['kAnonymityConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        kMapEstimationConfig: json_.containsKey('kMapEstimationConfig')
            ? GooglePrivacyDlpV2KMapEstimationConfig.fromJson(
                json_['kMapEstimationConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        lDiversityConfig: json_.containsKey('lDiversityConfig')
            ? GooglePrivacyDlpV2LDiversityConfig.fromJson(
                json_['lDiversityConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        numericalStatsConfig: json_.containsKey('numericalStatsConfig')
            ? GooglePrivacyDlpV2NumericalStatsConfig.fromJson(
                json_['numericalStatsConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );