splitLines method

List<String> splitLines(
  1. String str
)

Implementation

List<String> splitLines(String str) {
  return str.split(RegExp(r'\r?\n'));
}