linesFromIoString function

List<String> linesFromIoString(
  1. String text
)

Convert a single string with to a list of lines (ignoring line endings).

Implementation

List<String> linesFromIoString(String text) =>
    LineSplitter.split(text).toList();