ServerService constructor
ServerService(
- String name
Implementation
factory ServerService(String name) {
switch (name) {
case 'LOG':
return LOG;
case 'STATUS':
return STATUS;
}
throw Exception('Illegal enum value: $name');
}