toEncryptionType method
Implementation
EncryptionType toEncryptionType() {
switch (this) {
case 'aws:kms':
return EncryptionType.awsKms;
case 'AES256':
return EncryptionType.aes256;
}
throw Exception('$this is not known in enum EncryptionType');
}