livePostRoomUserList static method

Future<DataResult> livePostRoomUserList({
  1. required int roomId,
  2. required int num,
  3. int? size,
})

Implementation

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