toTranscriptionJobStatus method
Implementation
TranscriptionJobStatus toTranscriptionJobStatus() {
switch (this) {
case 'QUEUED':
return TranscriptionJobStatus.queued;
case 'IN_PROGRESS':
return TranscriptionJobStatus.inProgress;
case 'FAILED':
return TranscriptionJobStatus.failed;
case 'COMPLETED':
return TranscriptionJobStatus.completed;
}
throw Exception('$this is not known in enum TranscriptionJobStatus');
}