saveFileFromPath static method
This method saves the given content to the file at the given filePath.
Implementation
static Future<bool> saveFileFromPath(String filePath, String content) async {
File file = File(filePath);
file.writeAsString(content);
return true;
}