GooglePrivacyDlpV2HotwordRule.fromJson constructor

GooglePrivacyDlpV2HotwordRule.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2HotwordRule.fromJson(core.Map json_)
    : this(
        hotwordRegex: json_.containsKey('hotwordRegex')
            ? GooglePrivacyDlpV2Regex.fromJson(
                json_['hotwordRegex'] as core.Map<core.String, core.dynamic>)
            : null,
        likelihoodAdjustment: json_.containsKey('likelihoodAdjustment')
            ? GooglePrivacyDlpV2LikelihoodAdjustment.fromJson(
                json_['likelihoodAdjustment']
                    as core.Map<core.String, core.dynamic>)
            : null,
        proximity: json_.containsKey('proximity')
            ? GooglePrivacyDlpV2Proximity.fromJson(
                json_['proximity'] as core.Map<core.String, core.dynamic>)
            : null,
      );