saveToAbsolutePath function
Saves content to an absolute path.
Overwrites if the file already exists.
Implementation
Future<void> saveToAbsolutePath(String content, String path) async {
File file = File(path);
await file.writeAsString(content);
}