toStopAction method

StopAction toStopAction()

Implementation

StopAction toStopAction() {
  switch (this) {
    case 'START_EVALUATION':
      return StopAction.startEvaluation;
    case 'SKIP_EVALUATION':
      return StopAction.skipEvaluation;
  }
  throw Exception('$this is not known in enum StopAction');
}