saveFile method
Implementation
Future<File> saveFile(Uint8List fileContent) async {
final name = "tracker_${DateTime.now().microsecondsSinceEpoch}.png";
final File file = await File("$_path/$name").create(recursive: true);
file.writeAsBytesSync(fileContent);
return file;
}