progressUpdate static method
Implementation
static progressUpdate({String? id, progress, idList}) async {
Database db = await connect();
await db.transaction((txn) async {
await txn.rawUpdate('UPDATE Chat SET progress="$progress" WHERE idFile="$id" AND idlist = $idList');
print('progress updated');
});
}