GooglePrivacyDlpV2ImageRedactionConfig.fromJson constructor

GooglePrivacyDlpV2ImageRedactionConfig.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ImageRedactionConfig.fromJson(core.Map json_)
  : this(
      infoType: json_.containsKey('infoType')
          ? GooglePrivacyDlpV2InfoType.fromJson(
              json_['infoType'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      redactAllText: json_['redactAllText'] as core.bool?,
      redactionColor: json_.containsKey('redactionColor')
          ? GooglePrivacyDlpV2Color.fromJson(
              json_['redactionColor'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );