toEncryptionKeyType method

EncryptionKeyType toEncryptionKeyType()

Implementation

EncryptionKeyType toEncryptionKeyType() {
  switch (this) {
    case 'KMS':
      return EncryptionKeyType.kms;
  }
  throw Exception('$this is not known in enum EncryptionKeyType');
}