GooglePrivacyDlpV2CreateDeidentifyTemplateRequest.fromJson constructor

GooglePrivacyDlpV2CreateDeidentifyTemplateRequest.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2CreateDeidentifyTemplateRequest.fromJson(core.Map json_)
    : this(
        deidentifyTemplate: json_.containsKey('deidentifyTemplate')
            ? GooglePrivacyDlpV2DeidentifyTemplate.fromJson(
                json_['deidentifyTemplate']
                    as core.Map<core.String, core.dynamic>)
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
        templateId: json_.containsKey('templateId')
            ? json_['templateId'] as core.String
            : null,
      );