stepperStepToString function
Implementation
String stepperStepToString(StepStatus status) {
switch (status) {
case StepStatus.complete:
return 'Completed';
case StepStatus.inprogress:
return 'In Progress';
case StepStatus.upcoming:
return 'Upcoming';
case StepStatus.fail:
return 'Failed';
case StepStatus.none:
return '';
}
}