appLogZipFile function
Implementation
Future<String?> appLogZipFile() async {
final file = logFile;
if (file == null) {
return null;
}
try {
final path = (await getAppDocumentsDirectory()).path;
return await file.createArchive(path);
} catch (error, stackTrace) {
_reportLogBackendFailure(error, stackTrace);
return null;
}
}