lineOf method

int lineOf(
  1. int offset
)

Implementation

int lineOf(int offset) => lineInfo.getLocation(offset).lineNumber;