getIndex method

int getIndex(
  1. int index
)

Implementation

int getIndex(int index) => messageIndices?[index] ?? index;