GooglePrivacyDlpV2ImageTransformation.fromJson constructor

GooglePrivacyDlpV2ImageTransformation.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ImageTransformation.fromJson(core.Map json_)
  : this(
      allInfoTypes: json_.containsKey('allInfoTypes')
          ? GooglePrivacyDlpV2AllInfoTypes.fromJson(
              json_['allInfoTypes'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      allText: json_.containsKey('allText')
          ? GooglePrivacyDlpV2AllText.fromJson(
              json_['allText'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      redactionColor: json_.containsKey('redactionColor')
          ? GooglePrivacyDlpV2Color.fromJson(
              json_['redactionColor'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      selectedInfoTypes: json_.containsKey('selectedInfoTypes')
          ? GooglePrivacyDlpV2SelectedInfoTypes.fromJson(
              json_['selectedInfoTypes']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );