toValue method
Implementation
String toValue() {
switch (this) {
case HumanLoopStatus.inProgress:
return 'InProgress';
case HumanLoopStatus.failed:
return 'Failed';
case HumanLoopStatus.completed:
return 'Completed';
case HumanLoopStatus.stopped:
return 'Stopped';
case HumanLoopStatus.stopping:
return 'Stopping';
}
}