lines property

Iterable<String> get lines

Gets all lines in the text.

Implementation

Iterable<String> get lines => text.splitLines.defaultIfEmpty(text);