expireCache method
Removes all archived items.
Implementation
Future<void> expireCache() async {
await _attachmentsService.withContext((context) async {
bool done;
do {
done = await _syncingService.deleteArchivedAttachments(context);
} while (!done);
});
}