ReEncryptResponse.fromJson constructor
ReEncryptResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ReEncryptResponse.fromJson(Map<String, dynamic> json) {
return ReEncryptResponse(
ciphertextBlob:
_s.decodeNullableUint8List(json['CiphertextBlob'] as String?),
destinationEncryptionAlgorithm:
(json['DestinationEncryptionAlgorithm'] as String?)
?.toEncryptionAlgorithmSpec(),
keyId: json['KeyId'] as String?,
sourceEncryptionAlgorithm: (json['SourceEncryptionAlgorithm'] as String?)
?.toEncryptionAlgorithmSpec(),
sourceKeyId: json['SourceKeyId'] as String?,
);
}