toServerType method
Implementation
ServerType toServerType() {
switch (this) {
case 'VIRTUAL_MACHINE':
return ServerType.virtualMachine;
}
throw Exception('$this is not known in enum ServerType');
}
ServerType toServerType() {
switch (this) {
case 'VIRTUAL_MACHINE':
return ServerType.virtualMachine;
}
throw Exception('$this is not known in enum ServerType');
}