toExecutionStatus method

ExecutionStatus toExecutionStatus()

Implementation

ExecutionStatus toExecutionStatus() {
  switch (this) {
    case 'OPEN':
      return ExecutionStatus.open;
    case 'CLOSED':
      return ExecutionStatus.closed;
  }
  throw Exception('$this is not known in enum ExecutionStatus');
}