stringToList static method
Converts text
separated by newline and tab characters into a two-dimensional array.
Implementation
static List<List<String>> stringToList(String text) {
return text
.split(RegExp('\n|\r\n'))
.map((text) => text.split('\t'))
.toList();
}