checkCachedFiles function

Future<bool> checkCachedFiles(
  1. PapercupsAttachment attachment
)

Implementation

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