saveString function
Save the content
in path
file, creating the path
if doesn't exists.
Implementation
void saveString(String path, String content) {
var f = File(path);
if (!f.existsSync()) {
f.createSync(recursive: true);
}
var point = f.openSync(mode: FileMode.write);
point.writeStringSync(content);
point.closeSync();
}