toQueueStatus method
Implementation
QueueStatus toQueueStatus() {
switch (this) {
case 'ACTIVE':
return QueueStatus.active;
case 'PAUSED':
return QueueStatus.paused;
}
throw Exception('$this is not known in enum QueueStatus');
}