toDirectoryEdition method
Implementation
DirectoryEdition toDirectoryEdition() {
switch (this) {
case 'Enterprise':
return DirectoryEdition.enterprise;
case 'Standard':
return DirectoryEdition.standard;
}
throw Exception('$this is not known in enum DirectoryEdition');
}