cacheDirectory property
Returns a path to the cache directory.
Implementation
FutureOr<Directory?> get cacheDirectory async {
if (PlatformUtils.isWeb) {
return null;
}
try {
_cacheDirectory ??= await getApplicationCacheDirectory();
return _cacheDirectory!;
} on MissingPluginException {
return null;
}
}