deleteFile static method
dynamic
deleteFile({})
function file deletion
Implementation
static deleteFile(
{required FileData fileData,
required Function(FileData fileData) onDeleted}) async {
fileData.hasFile = false;
fileData.fileName = "";
fileData.filePath = "";
fileData.fileMimeType = "";
fileData.path = "";
fileData.otherDevicePath = "";
onDeleted(fileData);
}