rowNumber function

int rowNumber(
  1. int index
)

Row number (1-based index).

Implementation

int rowNumber(int index) => index + 1;