EncryptResponse.fromJson constructor

EncryptResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EncryptResponse.fromJson(Map<String, dynamic> json) {
  return EncryptResponse(
    ciphertextBlob:
        _s.decodeNullableUint8List(json['CiphertextBlob'] as String?),
    encryptionAlgorithm:
        (json['EncryptionAlgorithm'] as String?)?.toEncryptionAlgorithmSpec(),
    keyId: json['KeyId'] as String?,
  );
}