toEncryptionType method

EncryptionType toEncryptionType()

Implementation

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