toValue method
Implementation
String toValue() {
switch (this) {
case TaskExecutionStatus.queued:
return 'QUEUED';
case TaskExecutionStatus.launching:
return 'LAUNCHING';
case TaskExecutionStatus.preparing:
return 'PREPARING';
case TaskExecutionStatus.transferring:
return 'TRANSFERRING';
case TaskExecutionStatus.verifying:
return 'VERIFYING';
case TaskExecutionStatus.success:
return 'SUCCESS';
case TaskExecutionStatus.error:
return 'ERROR';
}
}