livePostJoinRoom static method

Future<DataResult> livePostJoinRoom({
  1. required int roomId,
})

Implementation

static Future<DataResult> livePostJoinRoom({required int roomId}) async {
  var res = await BaseDao.fromBaseEncryptV3(
    {
      'roomId': roomId,
    },
    Address.livePostJoinRoom(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}