writeFile(String path, String content) async { final Directory directory = Directory.current; final File file = File('${directory.path}/$path'); await file.writeAsString(content); }