readCsv function
Reads file at specified path path
as TSV file
Implementation
Future<List<List<String>>> readCsv(String path,
{Encoding encoding = utf8,
String fieldSep = ',',
String textSep = '"',
bool multiline = true,
int headerRow = 0}) async {
final File file = File(path);
if (!await file.exists()) throw Exception('File not found!');
return parseCsv(await file.readAsString(encoding: encoding),
fieldSep: fieldSep, textSep: textSep, multiline: multiline);
}