GenerateDataKeyResponse.fromJson constructor

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

Implementation

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