lineCount property

int get lineCount

Implementation

int get lineCount {
  if (_root == null) return 1;
  return _root!.newlines + 1;
}