toLines method

List<Line> toLines()

Converts this string to a list of Line.

Implementation

List<Line> toLines() => LineSplitter.split(this).map(Line.new).toList();