clearCachedFiles static method
Implementation
static Future<bool> clearCachedFiles() async {
try {
await FilePicker.platform.clearTemporaryFiles().then((value){
return value;
});
}
on PlatformException catch (e) {
console.error('Unsupported operation Clear: $e');
}
catch (e) {
console.error('Clear: $e');
}
return false;
}