toStepExecutionFilterKey method
Implementation
StepExecutionFilterKey toStepExecutionFilterKey() {
switch (this) {
case 'StartTimeBefore':
return StepExecutionFilterKey.startTimeBefore;
case 'StartTimeAfter':
return StepExecutionFilterKey.startTimeAfter;
case 'StepExecutionStatus':
return StepExecutionFilterKey.stepExecutionStatus;
case 'StepExecutionId':
return StepExecutionFilterKey.stepExecutionId;
case 'StepName':
return StepExecutionFilterKey.stepName;
case 'Action':
return StepExecutionFilterKey.action;
}
throw Exception('$this is not known in enum StepExecutionFilterKey');
}