GooglePrivacyDlpV2StoredInfoTypeConfig.fromJson constructor

GooglePrivacyDlpV2StoredInfoTypeConfig.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2StoredInfoTypeConfig.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        dictionary: json_.containsKey('dictionary')
            ? GooglePrivacyDlpV2Dictionary.fromJson(
                json_['dictionary'] as core.Map<core.String, core.dynamic>)
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        largeCustomDictionary: json_.containsKey('largeCustomDictionary')
            ? GooglePrivacyDlpV2LargeCustomDictionaryConfig.fromJson(
                json_['largeCustomDictionary']
                    as core.Map<core.String, core.dynamic>)
            : null,
        regex: json_.containsKey('regex')
            ? GooglePrivacyDlpV2Regex.fromJson(
                json_['regex'] as core.Map<core.String, core.dynamic>)
            : null,
      );