PrivacyPolicy.fromJson constructor

PrivacyPolicy.fromJson(
  1. Map json_
)

Implementation

PrivacyPolicy.fromJson(core.Map json_)
    : this(
        aggregationThresholdPolicy:
            json_.containsKey('aggregationThresholdPolicy')
                ? AggregationThresholdPolicy.fromJson(
                    json_['aggregationThresholdPolicy']
                        as core.Map<core.String, core.dynamic>)
                : null,
        differentialPrivacyPolicy:
            json_.containsKey('differentialPrivacyPolicy')
                ? DifferentialPrivacyPolicy.fromJson(
                    json_['differentialPrivacyPolicy']
                        as core.Map<core.String, core.dynamic>)
                : null,
        joinRestrictionPolicy: json_.containsKey('joinRestrictionPolicy')
            ? JoinRestrictionPolicy.fromJson(json_['joinRestrictionPolicy']
                as core.Map<core.String, core.dynamic>)
            : null,
      );