GooglePrivacyDlpV2FieldTransformation.fromJson constructor

GooglePrivacyDlpV2FieldTransformation.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2FieldTransformation.fromJson(core.Map json_)
    : this(
        condition: json_.containsKey('condition')
            ? GooglePrivacyDlpV2RecordCondition.fromJson(
                json_['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        fields: json_.containsKey('fields')
            ? (json_['fields'] as core.List)
                .map((value) => GooglePrivacyDlpV2FieldId.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        infoTypeTransformations: json_.containsKey('infoTypeTransformations')
            ? GooglePrivacyDlpV2InfoTypeTransformations.fromJson(
                json_['infoTypeTransformations']
                    as core.Map<core.String, core.dynamic>)
            : null,
        primitiveTransformation: json_.containsKey('primitiveTransformation')
            ? GooglePrivacyDlpV2PrimitiveTransformation.fromJson(
                json_['primitiveTransformation']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );