values method
Returns the download paths stored in the database.
Implementation
Future<List<(String, String)>> values() async {
final result = await safe<List<(String, String)>?>((db) async {
final result = await db.select(db.downloads).get();
return result.map((e) => (e.checksum, e.path)).toList();
}, exclusive: false);
return result ?? <(String, String)>[];
}