GooglePrivacyDlpV2CharacterMaskConfig.fromJson constructor

GooglePrivacyDlpV2CharacterMaskConfig.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2CharacterMaskConfig.fromJson(core.Map json_)
    : this(
        charactersToIgnore: json_.containsKey('charactersToIgnore')
            ? (json_['charactersToIgnore'] as core.List)
                .map((value) => GooglePrivacyDlpV2CharsToIgnore.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        maskingCharacter: json_.containsKey('maskingCharacter')
            ? json_['maskingCharacter'] as core.String
            : null,
        numberToMask: json_.containsKey('numberToMask')
            ? json_['numberToMask'] as core.int
            : null,
        reverseOrder: json_.containsKey('reverseOrder')
            ? json_['reverseOrder'] as core.bool
            : null,
      );