toExecutionMode method

ExecutionMode toExecutionMode()

Implementation

ExecutionMode toExecutionMode() {
  switch (this) {
    case 'Auto':
      return ExecutionMode.auto;
    case 'Interactive':
      return ExecutionMode.interactive;
  }
  throw Exception('$this is not known in enum ExecutionMode');
}