close2 / csv

A dart csv to list codec / converter
MIT License
98 stars 24 forks source link

Can't find the generated file #43

Closed erperejildo closed 3 years ago

erperejildo commented 3 years ago
getCsv() async {
    String appDocDir = "";
    await getTemporaryDirectory().then((onValue) {
      appDocDir = onValue.path;
    });
    final res = const ListToCsvConverter().convert([
      ['aaa', ',', 'ccc'],
      ['barra n \n']
    ]);
    File f = new File(appDocDir + "b.csv");
    f.writeAsString(res);
  }

output: I/flutter (13463): File: '/data/user/0/com.drodriguez.my_rents/cacheb.csv'

Screenshot_1634345446

erperejildo commented 3 years ago

was more a problem with the device storage