GooglePrivacyDlpV2InspectionRuleSet.fromJson constructor

GooglePrivacyDlpV2InspectionRuleSet.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2InspectionRuleSet.fromJson(core.Map json_)
    : this(
        infoTypes: json_.containsKey('infoTypes')
            ? (json_['infoTypes'] as core.List)
                .map((value) => GooglePrivacyDlpV2InfoType.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        rules: json_.containsKey('rules')
            ? (json_['rules'] as core.List)
                .map((value) => GooglePrivacyDlpV2InspectionRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );