GooglePrivacyDlpV2RecordTransformations.fromJson constructor

GooglePrivacyDlpV2RecordTransformations.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2RecordTransformations.fromJson(core.Map json_)
    : this(
        fieldTransformations: json_.containsKey('fieldTransformations')
            ? (json_['fieldTransformations'] as core.List)
                .map((value) =>
                    GooglePrivacyDlpV2FieldTransformation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        recordSuppressions: json_.containsKey('recordSuppressions')
            ? (json_['recordSuppressions'] as core.List)
                .map((value) => GooglePrivacyDlpV2RecordSuppression.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );