toHumanLoopStatus method
Implementation
HumanLoopStatus toHumanLoopStatus() {
switch (this) {
case 'InProgress':
return HumanLoopStatus.inProgress;
case 'Failed':
return HumanLoopStatus.failed;
case 'Completed':
return HumanLoopStatus.completed;
case 'Stopped':
return HumanLoopStatus.stopped;
case 'Stopping':
return HumanLoopStatus.stopping;
}
throw Exception('$this is not known in enum HumanLoopStatus');
}