RawDecryptResponse.fromJson constructor
RawDecryptResponse.fromJson(
- Map json_
Implementation
RawDecryptResponse.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,
verifiedAdditionalAuthenticatedDataCrc32c: json_
.containsKey('verifiedAdditionalAuthenticatedDataCrc32c')
? json_['verifiedAdditionalAuthenticatedDataCrc32c'] as core.bool
: null,
verifiedCiphertextCrc32c:
json_.containsKey('verifiedCiphertextCrc32c')
? json_['verifiedCiphertextCrc32c'] as core.bool
: null,
verifiedInitializationVectorCrc32c:
json_.containsKey('verifiedInitializationVectorCrc32c')
? json_['verifiedInitializationVectorCrc32c'] as core.bool
: null,
);