toWorkGroupState method
Implementation
WorkGroupState toWorkGroupState() {
switch (this) {
case 'ENABLED':
return WorkGroupState.enabled;
case 'DISABLED':
return WorkGroupState.disabled;
}
throw Exception('$this is not known in enum WorkGroupState');
}