toStackSetOperationAction method

StackSetOperationAction toStackSetOperationAction()

Implementation

StackSetOperationAction toStackSetOperationAction() {
  switch (this) {
    case 'CREATE':
      return StackSetOperationAction.create;
    case 'UPDATE':
      return StackSetOperationAction.update;
    case 'DELETE':
      return StackSetOperationAction.delete;
    case 'DETECT_DRIFT':
      return StackSetOperationAction.detectDrift;
  }
  throw Exception('$this is not known in enum StackSetOperationAction');
}