endLine property

int get endLine

Implementation

int get endLine => lines.isEmpty ? 0 : lines.last.lineNumber;