getStepType method
Implementation
StepType getStepType(
int index, bool bluntTail, bool bluntHead, int stepCount) {
if (index == 1 && bluntTail) {
return StepType.arrow;
} else if (index == stepCount && bluntHead) {
return StepType.chevronBlunt;
} else {
return StepType.chevron;
}
}