toQueueType method

QueueType toQueueType()

Implementation

QueueType toQueueType() {
  switch (this) {
    case 'STANDARD':
      return QueueType.standard;
    case 'AGENT':
      return QueueType.agent;
  }
  throw Exception('$this is not known in enum QueueType');
}