GooglePrivacyDlpV2CryptoKey.fromJson constructor

GooglePrivacyDlpV2CryptoKey.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2CryptoKey.fromJson(core.Map json_)
    : this(
        kmsWrapped: json_.containsKey('kmsWrapped')
            ? GooglePrivacyDlpV2KmsWrappedCryptoKey.fromJson(
                json_['kmsWrapped'] as core.Map<core.String, core.dynamic>)
            : null,
        transient: json_.containsKey('transient')
            ? GooglePrivacyDlpV2TransientCryptoKey.fromJson(
                json_['transient'] as core.Map<core.String, core.dynamic>)
            : null,
        unwrapped: json_.containsKey('unwrapped')
            ? GooglePrivacyDlpV2UnwrappedCryptoKey.fromJson(
                json_['unwrapped'] as core.Map<core.String, core.dynamic>)
            : null,
      );