toJson method
Implementation
Map<String, dynamic> toJson() {
final encryptionOption = this.encryptionOption;
final kmsKey = this.kmsKey;
return {
'EncryptionOption': encryptionOption.toValue(),
if (kmsKey != null) 'KmsKey': kmsKey,
};
}