getCacheDirectory static method
Implementation
static Future<Directory> getCacheDirectory() async {
final directory = await getTemporaryDirectory(); // Get the cache directory
final cacheDirectoryPath = directory.path;
print('CacheUtil.getCacheDirectory: $cacheDirectoryPath');
final cacheDirectory = Directory(cacheDirectoryPath);
return cacheDirectory;
}