delete method

Future<int> delete(
  1. String? uid
)

Implementation

Future<int> delete(String? uid) async {
  // FIXME: 暂不支持web
  if (BytedeskUtils.isWeb) {
    return 0;
  }
  return await database!
      .delete(tableThread!, where: '$columnUid = ?', whereArgs: [uid]);
}