lineCount property

int get lineCount

The number of lines in this range.

Implementation

int get lineCount => endLine - startLine + 1;