wordCount property
int
wordCount
Count of comment words, not including words in any code in the comment.
Implementation
int get wordCount {
return commentStringWithoutCode.split(RegExp(r'\s+')).length;
}
Count of comment words, not including words in any code in the comment.
int get wordCount {
return commentStringWithoutCode.split(RegExp(r'\s+')).length;
}