toWorkGroupState method

WorkGroupState toWorkGroupState()

Implementation

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