toIpcMode method

IpcMode toIpcMode()

Implementation

IpcMode toIpcMode() {
  switch (this) {
    case 'host':
      return IpcMode.host;
    case 'task':
      return IpcMode.task;
    case 'none':
      return IpcMode.none;
  }
  throw Exception('$this is not known in enum IpcMode');
}