label property
String
get
label
Implementation
String get label {
switch (this) {
case PlanStepStatus.pending:
return 'Pending';
case PlanStepStatus.active:
return 'Active';
case PlanStepStatus.completed:
return 'Completed';
case PlanStepStatus.skipped:
return 'Skipped';
case PlanStepStatus.failed:
return 'Failed';
}
}