DecryptResponse.fromJson constructor

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

Implementation

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