AsymmetricDecryptResponse.fromJson constructor

AsymmetricDecryptResponse.fromJson(
  1. Map json_
)

Implementation

AsymmetricDecryptResponse.fromJson(core.Map json_)
    : this(
        plaintext: json_.containsKey('plaintext')
            ? json_['plaintext'] as core.String
            : null,
        plaintextCrc32c: json_.containsKey('plaintextCrc32c')
            ? json_['plaintextCrc32c'] as core.String
            : null,
        protectionLevel: json_.containsKey('protectionLevel')
            ? json_['protectionLevel'] as core.String
            : null,
        verifiedCiphertextCrc32c:
            json_.containsKey('verifiedCiphertextCrc32c')
                ? json_['verifiedCiphertextCrc32c'] as core.bool
                : null,
      );