cleanAppCacheDirs method
Future method cleanAppCacheDirs
take bool _ cleanDefault
take bool _ cleanAccessedDirs
take bool _ cleanCache
has String return Value
Implementation
@override
Future<String> cleanAppCacheDirs(
{bool cleanDefault = false,
bool cleanAccessedDirs = false,
bool cleanCache = true}) async {
final vPath = await methodChannel.invokeMethod<String>(_CLEAN_CASH_PATH, {
"accessed": cleanAccessedDirs,
"default": cleanDefault,
"cache": cleanCache
});
if (vPath != null) {
return vPath;
} else {
return "Check Permissions";
}
}