toValue method
Implementation
String toValue() {
  switch (this) {
    case QueueStatus.active:
      return 'ACTIVE';
    case QueueStatus.paused:
      return 'PAUSED';
  }
}String toValue() {
  switch (this) {
    case QueueStatus.active:
      return 'ACTIVE';
    case QueueStatus.paused:
      return 'PAUSED';
  }
}