toValue method
Implementation
String toValue() {
switch (this) {
case StatusType.succeeded:
return 'SUCCEEDED';
case StatusType.failed:
return 'FAILED';
case StatusType.fault:
return 'FAULT';
case StatusType.timedOut:
return 'TIMED_OUT';
case StatusType.inProgress:
return 'IN_PROGRESS';
case StatusType.stopped:
return 'STOPPED';
}
}