lineCount property

int lineCount

Count of comment lines, not including lines of code in the comment.

Implementation

int get lineCount => commentStringWithoutCode.split('\n').length;