InputDecryptionSettings.fromJson constructor

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

Implementation

factory InputDecryptionSettings.fromJson(Map<String, dynamic> json) {
  return InputDecryptionSettings(
    decryptionMode: (json['decryptionMode'] as String?)?.toDecryptionMode(),
    encryptedDecryptionKey: json['encryptedDecryptionKey'] as String?,
    initializationVector: json['initializationVector'] as String?,
    kmsKeyRegion: json['kmsKeyRegion'] as String?,
  );
}