toVideoJobStatus method
Implementation
VideoJobStatus toVideoJobStatus() {
switch (this) {
case 'IN_PROGRESS':
return VideoJobStatus.inProgress;
case 'SUCCEEDED':
return VideoJobStatus.succeeded;
case 'FAILED':
return VideoJobStatus.failed;
}
throw Exception('$this is not known in enum VideoJobStatus');
}