checkCachedFiles function
Implementation
Future<bool> checkCachedFiles(PapercupsAttachment attachment) async {
var file = await getAttachment(attachment);
if (await file.exists()) {
return true;
}
return false;
}
Future<bool> checkCachedFiles(PapercupsAttachment attachment) async {
var file = await getAttachment(attachment);
if (await file.exists()) {
return true;
}
return false;
}