static void writeStringToFile(String filePath, String stringToWrite) { return File(filePath).writeAsStringSync(stringToWrite); }