readLines function
Read string content
Implementation
Future<List<String>> readLines(File file, {Encoding encoding = utf8}) async {
var text = await readString(file, encoding: encoding);
return LineSplitter.split(text).toList();
}
Read string content
Future<List<String>> readLines(File file, {Encoding encoding = utf8}) async {
var text = await readString(file, encoding: encoding);
return LineSplitter.split(text).toList();
}