toValue method
Implementation
String toValue() {
switch (this) {
case StepStatus.starting:
return 'Starting';
case StepStatus.executing:
return 'Executing';
case StepStatus.stopping:
return 'Stopping';
case StepStatus.stopped:
return 'Stopped';
case StepStatus.failed:
return 'Failed';
case StepStatus.succeeded:
return 'Succeeded';
}
}