deleteFileDirectly static method
deletes the created file
Implementation
static Future<String> deleteFileDirectly({required String cachedFileName}) async{
File jsonFile;
var tempDir = await getApplicationDocumentsDirectory();
String _filePath = tempDir.path + '/$cachedFileName.json';
jsonFile = new File(_filePath);
jsonFile.delete();
return "Deleted";
}