updateUnreadCount method

Future<int> updateUnreadCount(
  1. String? tid
)

Implementation

Future<int> updateUnreadCount(String? tid) async {
  return await database!.rawUpdate(
      'UPDATE $tableThread SET $columnUnreadCount = $columnUnreadCount + 1 WHERE $columnTid = ?',
      [tid]);
}