semanticIndex method

int semanticIndex(
  1. int index
)

Implementation

int semanticIndex(int index) {
  if (specialItemPosition != SpecialItemPosition.prepend) {
    return index + 1;
  }
  return index;
}