lineLength property

int get lineLength

Returns number of lines

Implementation

int get lineLength => '\n'.allMatches(this).length + 1;