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