toEncryptionType method
Implementation
EncryptionType toEncryptionType() {
switch (this) {
case 'NONE':
return EncryptionType.none;
case 'KMS':
return EncryptionType.kms;
}
throw Exception('$this is not known in enum EncryptionType');
}